I'm having some problems to install swing-1.1beta3 on RH5.2.

1. I installed jdk in /java/jdk117_v1a/
2. I downloaded swing11-beta3.tar.z into /java
3. tar xvzf swing11-beta3.tar.z created directory /java/swing-1.1beta3 + 60
html files own by user uucp and group 143.
4. I added the following lines to .bash_profile for user /home/wdacruz: 
PATH:/java/swing-1.1beta3:$PATH
CLASSPATH=.
SWING_HOME=/java/swing-1.1beta3
export PATH CLASSPATH SWING_HOME
5. wdacruz env shows:
...
PATH=/java/swing-1.1beta3:/java/jdk117_v1a/bin:....
SWING_HOMEL=/java/swing-1.1beta3
...

6. I tested swingapplication.java that start: 

import javax.swing.*;   // This is the final packge name.
// import com.sun.java.swing.*; // Used by JDK 1.2 Beta 4 and all
                             // Swing releases before Swing 1.1 Beta 3.
...

7. javac swingapplication.java
I got the error message: Package javax.swing not found in import
import javax.swing.*;
       ^        
JDK1.1.7_v1a works fine, but the compiler does not find the swing package.
What I am doing wrong?  Did I installed swing-1.1beta3 in the wrong
directory? the CLASSPATH points to the wrong place? swingall.jar resides in
/java/swing-1.1beta3/ directory.

Thank you for all the help I got so far.

                                                Walter.
Linux and Java will save the world.... :-)     | 408.294.4750
http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED]
_______________________________________________|_______________________

Reply via email to