Hi, you have to add the path to the jar files like (for example):

export
CLASSPATH=$CLASSPATH:/usr/local/swing/swing.jar:/home/freeman/jars/net.jar:etc

that should work a little better for you (once you've added the path to
each jar you want to use).
__
Kenny Freeman <[EMAIL PROTECTED]>

"a population that gives up its freedoms in the name of order will
 ultimately end up losing both." 

On Sun, 15 Nov 1998, Pierre LATECOERE wrote:

> Hello,
> 
> I am new to the Linux world. I have developped a large Java app on Win32
> using Borland JBuilder and want to port it to Linux.
> I have downloaded the jdk116 from java.blackdown.org. I use several
> *.jar packages for my app (i.e. Swing).
> 
> javac doesn't load my jar files. I must have done something wrong in
> setting my CLASSPATH environment.
> 
> Here is what I have in my .bashrc file:
> 
> # .bashrc
> # User specific aliases and functions
> # Source global definitions
> if [ -f /etc/bashrc ]; then
>  . /etc/bashrc
> fi
> 
> export PATH=/home/Pierre/jdk116_v5/bin:$PATH
> export CLASSPATH=/home/Pierre/jdk116_v5/lib:$CLASSPATH
> 
> Thank you for your help.
> 
> Pierre
> 

Reply via email to