472,982 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,982 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 2064
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,...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.