Re: Looking for help building 'rhdb-explain' Visual Explain - Mailing list pgsql-general

From Fernando Nasser
Subject Re: Looking for help building 'rhdb-explain' Visual Explain
Date
Msg-id 40867003.2050805@redhat.com
Whole thread Raw
In response to Looking for help building 'rhdb-explain' Visual Explain tool  (jboes@nexcerpt.com (Jeff Boes))
List pgsql-general
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
 >
 >

pgsql-general by date:

Previous
From: "Priem, Alexander"
Date:
Subject: Unicode problem ???
Next
From: Joe Lester
Date:
Subject: Re: Connection reset by peer