[Techtalk] SUSE 8.1 PATH?

Tim White adminlists at objectif.com.au
Wed Jan 22 17:19:49 EST 2003


You will also need to set the CLASSPATH variable to point to any
jar/class files you want to have available to java.

eg.
CLASSPATH=/usr/local/j2sdk1.4.1_01/lib:/usr/local/j2sdk1.4.1_01/jre/lib/rt.jar

Some programs also like to have a JAVA_HOME variable;

JAVA_HOME=/usr/local/j2sdk1.4.1_01

Don't forget to export the variables either  :)

Tim White

> PATH=/usr/java/j2sdk1.4.1/bin:${PATH}
> 
> You'll need to look on your system to see where the java bin directory is.  
> Since you put the path to your java bin directory before ${PATH}, it will 
> look there before other places, in case you have a different version of java 
> in your path somewhere.






More information about the Techtalk mailing list