maybe try putting swing.jar in your CLASSPATH. that should fix your
problem.
On Tue, 15 Jun 1999, Bernardo Paz Betancourt wrote:
> Good morning:
>
> Could some budy please tellme which is the correct PATH for use Swing
> libraries whith Java?
> I download JAVA JDK 1.1.7 and after the Swing-1.1 library (the exemple
> SwingSet works fine too)
>
> Java works fine, but when I use in my programs
> import javax.swing.*
>
> I recive the next message at the compilation:
> "Package java.swing not found in import"
>
> Here is my .bash_profile
>
> # .bash_profile
>
> # Get the aliases and functions
> if [ -f ~/.bashrc ]; then
> . ~/.bashrc
> fi
>
> # User specific environment and startup programs
>
> PATH=$PATH:$HOME/bin
> BASH_ENV=$HOME/.bashrc
> USERNAME=""
>
> JAVA_HOME=/home/paz/jdk117_v1a
> SWING_HOME=/home/paz/swing-1.1
> SWING_CLASSES=/home/paz/swing-1.1/swing.jar
> PATH=$PATH:/home/paz/jdk117_v1a/bin
> PATH=$PATH:/home/paz/jdk117_v1a/lib
> PATH=$PATH:/home/paz/swing-1.1/swing.jar
>
> export USERNAME BASH_ENV PATH
> export JAVA_HOME
> export SWING_HOME
> export SWING_CLASSES
>
> Friendly. Bernardo.
> .
> .
> .
>
>
> ______________________________
> Dr. Bernardo Paz Betancourt
> TROPANDES Project
> casilla 415
> tel/Fax: (591) 2 41.18.34
> http://www.megalink.com/tropandes
> La Paz - Bolivia
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]