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'. 10 2100
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
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
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
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
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)
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)
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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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
|
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...
|
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.
...
|
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
...
|
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...
|
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...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |