473,322 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Looking for help building 'rhdb-explain' Visual Explain tool

I'm hoping there's someone here with experience in building the Visual
Explain tool from Red Hat. I downloaded it and the J2 SDK, but when I
attempt to follow the build instructions, I get messages like:

error: Type `JTableHeader' not found in the declaration of the local
variable `header'.
[javac] JTableHeader header = null;

To me, this indicates that the SDK isn't installed (properly). But I
admit I'm pretty much a Java know-nothin'.
Nov 23 '05 #1
10 2093
On Tue, Apr 20, 2004 at 10:45:33AM -0700, Jeff Boes wrote:
variable `header'.
[javac] JTableHeader header = null;

To me, this indicates that the SDK isn't installed (properly). But I
admit I'm pretty much a Java know-nothin'.


java -version ?

A

--
Andrew Sullivan | aj*@crankycanuck.ca
I remember when computers were frustrating because they *did* exactly what
you told them to. That actually seems sort of quaint now.
--J.D. Baldwin

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #2
On Tue, Apr 20, 2004 at 10:45:33AM -0700, Jeff Boes wrote:
variable `header'.
[javac] JTableHeader header = null;

To me, this indicates that the SDK isn't installed (properly). But I
admit I'm pretty much a Java know-nothin'.


java -version ?

A

--
Andrew Sullivan | aj*@crankycanuck.ca
I remember when computers were frustrating because they *did* exactly what
you told them to. That actually seems sort of quaint now.
--J.D. Baldwin

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #3
Jeff Boes wrote:
I'm hoping there's someone here with experience in building the Visual
Explain tool from Red Hat. I downloaded it and the J2 SDK, but when I
attempt to follow the build instructions, I get messages like:

error: Type `JTableHeader' not found in the declaration of the local
variable `header'.
[javac] JTableHeader header = null;

To me, this indicates that the SDK isn't installed (properly). But I
admit I'm pretty much a Java know-nothin'.


Jeff, have tou set the environment variable JAVA_HOME to where your SDK
is installed?

Please try:

echo $JAVA_HOME

and

which javac
Regards,
Fernando

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #4
Jeff Boes wrote:
I'm hoping there's someone here with experience in building the Visual
Explain tool from Red Hat. I downloaded it and the J2 SDK, but when I
attempt to follow the build instructions, I get messages like:

error: Type `JTableHeader' not found in the declaration of the local
variable `header'.
[javac] JTableHeader header = null;

To me, this indicates that the SDK isn't installed (properly). But I
admit I'm pretty much a Java know-nothin'.


Jeff, have tou set the environment variable JAVA_HOME to where your SDK
is installed?

Please try:

echo $JAVA_HOME

and

which javac
Regards,
Fernando

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #5
Jeff Boes wrote:
Fernando Nasser wrote:

Jeff, have tou set the environment variable JAVA_HOME to where your
SDK is installed?

Please try:

echo $JAVA_HOME
It was undefined ... I set it to "/usr/java/j2sdk1.4.2_04".
and

which javac

Nothing found in my path. However, with or without the above change, the
build process seems to find "javac". I still get:


Yes, the javac Ant task probably looks for it in a few places.

Try doing this:

export PATH=/usr/java/j2sdk1.4.2_04/bin:$PATH

and do it again.

Which OS and version are you doing this on?

Regards,
Fernando

compile:
[javac] Compiling 69 source files to
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/build
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/ViseLookAndFeel.java:14:
error: Superclass `DefaultMetalTheme' of class
`com.redhat.rhdb.vise.ViseLookAndFeel' not found.
[javac] public class ViseLookAndFeel extends DefaultMetalTheme {
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/Vise.java:66:
error: Type `JTextArea' not found in declaration of field `query_ta'.
[javac] private JTextArea query_ta;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/TestDatabaseConnectionDialog.java:45:
error: Type `JTextArea' not found in declaration of field `text'.
[javac] private JTextArea text;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/HelpWindow.java:554:
error: Type `HTMLFrameHyperlinkEvent' not found in the declaration of
the local variable `evt'.
[javac]
HTMLFrameHyperlinkEvent evt = (HTMLFrameHyperlinkEvent)e;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/HelpWindow.java:555:
error: Type `HTMLDocument' not found in the declaration of the local
variable `doc'.
[javac] HTMLDocument doc
= (HTMLDocument)pane.getDocument();
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/AboutDialog.java:153:
error: Type `SimpleAttributeSet' not found in the declaration of the
local variable `set'.
[javac] SimpleAttributeSet set = new
SimpleAttributeSet();
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/explain/view/ExplainView.java:71:
error: Type `JTextArea' not found in declaration of field `options_ta'.
[javac] private JTextArea options_ta, plan_ta, dump_ta;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/explain/view/ExplainView.java:71:
error: Type `JTextArea' not found in declaration of field `plan_ta'.
[javac] private JTextArea options_ta, plan_ta, dump_ta;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/explain/view/ExplainView.java:71:
error: Type `JTextArea' not found in declaration of field `dump_ta'.
[javac] private JTextArea options_ta, plan_ta, dump_ta;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/explain/view/ExplainView.java:1407:
error: Type `JTableHeader' not found in the declaration of the local
variable `header'.
[javac] JTableHeader header = null;
[javac] ^
[javac] 10 errors

BUILD FAILED


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #6
Jeff Boes wrote:
Fernando Nasser wrote:

Jeff, have tou set the environment variable JAVA_HOME to where your
SDK is installed?

Please try:

echo $JAVA_HOME
It was undefined ... I set it to "/usr/java/j2sdk1.4.2_04".
and

which javac

Nothing found in my path. However, with or without the above change, the
build process seems to find "javac". I still get:


Yes, the javac Ant task probably looks for it in a few places.

Try doing this:

export PATH=/usr/java/j2sdk1.4.2_04/bin:$PATH

and do it again.

Which OS and version are you doing this on?

Regards,
Fernando

compile:
[javac] Compiling 69 source files to
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/build
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/ViseLookAndFeel.java:14:
error: Superclass `DefaultMetalTheme' of class
`com.redhat.rhdb.vise.ViseLookAndFeel' not found.
[javac] public class ViseLookAndFeel extends DefaultMetalTheme {
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/Vise.java:66:
error: Type `JTextArea' not found in declaration of field `query_ta'.
[javac] private JTextArea query_ta;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/TestDatabaseConnectionDialog.java:45:
error: Type `JTextArea' not found in declaration of field `text'.
[javac] private JTextArea text;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/HelpWindow.java:554:
error: Type `HTMLFrameHyperlinkEvent' not found in the declaration of
the local variable `evt'.
[javac]
HTMLFrameHyperlinkEvent evt = (HTMLFrameHyperlinkEvent)e;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/HelpWindow.java:555:
error: Type `HTMLDocument' not found in the declaration of the local
variable `doc'.
[javac] HTMLDocument doc
= (HTMLDocument)pane.getDocument();
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/vise/AboutDialog.java:153:
error: Type `SimpleAttributeSet' not found in the declaration of the
local variable `set'.
[javac] SimpleAttributeSet set = new
SimpleAttributeSet();
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/explain/view/ExplainView.java:71:
error: Type `JTextArea' not found in declaration of field `options_ta'.
[javac] private JTextArea options_ta, plan_ta, dump_ta;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/explain/view/ExplainView.java:71:
error: Type `JTextArea' not found in declaration of field `plan_ta'.
[javac] private JTextArea options_ta, plan_ta, dump_ta;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/explain/view/ExplainView.java:71:
error: Type `JTextArea' not found in declaration of field `dump_ta'.
[javac] private JTextArea options_ta, plan_ta, dump_ta;
[javac] ^
[javac]
/home/jboes/downloads/src/rhdb/guitools/rhdb-explain/src/com/redhat/rhdb/explain/view/ExplainView.java:1407:
error: Type `JTableHeader' not found in the declaration of the local
variable `header'.
[javac] JTableHeader header = null;
[javac] ^
[javac] 10 errors

BUILD FAILED


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #7
Jeff Boes wrote:
I'm hoping there's someone here with experience in building the Visual
Explain tool from Red Hat.


Thanks to some patient hand-holding by Fernando Nasser
(fn*****@redhat.com), I managed to make this work.

Details, for those following my bread-crumb trail:

My OS is Whitebox 3.0. I installed the Java SDK RPM, but until I did this:

$ export CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar

I couldn't get "ant" to build the package.

After I built it, some further messing around was necessary to discover
that I needed the JDBC, and that I needed to edit CLASSPATH some more. I
ended up with this incantation:
$ export
CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar:/home/jboes/downloads/pg74.213.jdbc3.jar:.

(Don't miss the ":." at the end of that line!) Then I could "cd" into
the "build" directory and run the tool with the command line as
specified in the README:
$ /usr/java/j2sdk1.4.2_04/bin/java com.redhat.rhdb.vise.Vise

So, up and running at last. I'm sure there's an easier way to configure
this, but being a Java-on-Linux neophyte, this was as much as I was
willing to learn about the process just to evaluate the tool!

Dazed ...
--
Jeff Boes vox 269.226.9550 ext 24
Database Engineer fax 269.349.9076
Nexcerpt, Inc. http://www.nexcerpt.com
...Nexcerpt... Extend your Expertise
Nov 23 '05 #8
Jeff Boes wrote:
I'm hoping there's someone here with experience in building the Visual
Explain tool from Red Hat.


Thanks to some patient hand-holding by Fernando Nasser
(fn*****@redhat.com), I managed to make this work.

Details, for those following my bread-crumb trail:

My OS is Whitebox 3.0. I installed the Java SDK RPM, but until I did this:

$ export CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar

I couldn't get "ant" to build the package.

After I built it, some further messing around was necessary to discover
that I needed the JDBC, and that I needed to edit CLASSPATH some more. I
ended up with this incantation:
$ export
CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar:/home/jboes/downloads/pg74.213.jdbc3.jar:.

(Don't miss the ":." at the end of that line!) Then I could "cd" into
the "build" directory and run the tool with the command line as
specified in the README:
$ /usr/java/j2sdk1.4.2_04/bin/java com.redhat.rhdb.vise.Vise

So, up and running at last. I'm sure there's an easier way to configure
this, but being a Java-on-Linux neophyte, this was as much as I was
willing to learn about the process just to evaluate the tool!

Dazed ...
--
Jeff Boes vox 269.226.9550 ext 24
Database Engineer fax 269.349.9076
Nexcerpt, Inc. http://www.nexcerpt.com
...Nexcerpt... Extend your Expertise
Nov 23 '05 #9
Jeff Boes <jb***@nexcerpt.com> wrote:

Jeff Boes wrote:
I'm hoping there's someone here with experience in building the Visual
Explain tool from Red Hat.
Thanks to some patient hand-holding by Fernando Nasser
(fn*****@redhat.com), I managed to make this work.

Details, for those following my bread-crumb trail:

My OS is Whitebox 3.0. I installed the Java SDK RPM, but until I did this:

$ export CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar

I couldn't get "ant" to build the package.


I don't know about the "Whitebox" (whatever that is) OS, but on my
Sparc Solaris boxes, anything placed in $JAVA_HOME/jre/lib/ext/ is
automatically added to CLASSPATH when a Java app is started-up.

After I built it, some further messing around was necessary to discover
that I needed the JDBC, and that I needed to edit CLASSPATH some more. I
ended up with this incantation:
$ export
CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar:/home/jboes/downloads/pg74.213.jdbc3.jar:.
I decided to build on how Java works on my Sun boxes, by mimicking its
"default CLASSPATH add-ons" directory in /usr/local. Then I wrote a
"java_profile" script that automatically adds any jarfile it finds
there into the CLASSPATH environment variable. It gets run by, say,
/etc/profile, so all users get it.
[remainder snipped]


--
Jim Seymour | Spammers sue anti-spammers:
js******@LinxNet.com | http://www.LinxNet.com/misc/spam/slapp.php
http://jimsun.LinxNet.com | Please donate to the SpamCon Legal Fund:
| http://www.spamcon.org/legalfund/

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #10
Jeff Boes <jb***@nexcerpt.com> wrote:

Jeff Boes wrote:
I'm hoping there's someone here with experience in building the Visual
Explain tool from Red Hat.
Thanks to some patient hand-holding by Fernando Nasser
(fn*****@redhat.com), I managed to make this work.

Details, for those following my bread-crumb trail:

My OS is Whitebox 3.0. I installed the Java SDK RPM, but until I did this:

$ export CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar

I couldn't get "ant" to build the package.


I don't know about the "Whitebox" (whatever that is) OS, but on my
Sparc Solaris boxes, anything placed in $JAVA_HOME/jre/lib/ext/ is
automatically added to CLASSPATH when a Java app is started-up.

After I built it, some further messing around was necessary to discover
that I needed the JDBC, and that I needed to edit CLASSPATH some more. I
ended up with this incantation:
$ export
CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar:/home/jboes/downloads/pg74.213.jdbc3.jar:.
I decided to build on how Java works on my Sun boxes, by mimicking its
"default CLASSPATH add-ons" directory in /usr/local. Then I wrote a
"java_profile" script that automatically adds any jarfile it finds
there into the CLASSPATH environment variable. It gets run by, say,
/etc/profile, so all users get it.
[remainder snipped]


--
Jim Seymour | Spammers sue anti-spammers:
js******@LinxNet.com | http://www.LinxNet.com/misc/spam/slapp.php
http://jimsun.LinxNet.com | Please donate to the SpamCon Legal Fund:
| http://www.spamcon.org/legalfund/

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ed Cox | last post by:
Hi, first time poster to this group looking for a little help. Knowing that there are hundreds of php applications and solutions out there, and I don't want to re invent the wheel, I am looking...
1
by: Angie | last post by:
Hello, My name is Angela Mastrodonato. I'm a web designer who would like the assistance of a php programmer. Some of my clients have requested more dynamic web sites, and I am in the beginning...
0
by: Naresh | last post by:
HI , I am using Linux 9.0. I downloaded RHDB 2.1. I tried to install it, but it says its only valid for Linux 8.0 and lower vesion. How can use RHDB for Linux 9.0 Thanks And Regards Naresh
4
by: crystalattice | last post by:
I've been working on a game for several months but now I'm thinking I may be going about it the wrong way. It's an online RPG designed to recreate a pen & paper session, kind of like the OpenRPG...
6
by: Bob Alston | last post by:
Looking for someone with experience building apps with multiple instances of forms open. I am building an app for a nonprofit organizations case workers. They provide services to the elderly. ...
8
by: aaron | last post by:
I have an array of id=>category: =Automotive Parts =Automotive Parts\Domestic =Automotive Parts\Foreign =Building Supplies =Building Supplies\Lumber =Building Supplies\Lumber\Hardwood ...
12
by: amogan | last post by:
**If interested & qualified, please reply with your resume directly to amogan@google.com** Referrals are always welcome!! Network System Test Engineer - Mountain View This position is...
9
by: brad | last post by:
Just wondering if anyone has ever solved this efficiently... not looking for specific solutions tho... just ideas. I have one thousand words and one thousand files. I need to read the files to...
3
by: Jen Craven | last post by:
Hi All! We are looking for only the best developers and technical managers worldwide to come join us here. Microsoft’s Global Product Development team is looking for strong Development, test,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.