Click to See Complete Forum and Search --> : Java and Linux


robeb
03-16-2002, 05:41 PM
can someone tell me where I might be able to get some help with java on my linux box?

undef
03-16-2002, 05:46 PM
right here. ask and you shall recieve

robeb
03-16-2002, 07:33 PM
I've managed to dl and install the rpm, but I'm having trouble setting the enviromental variables so I can use the java commands anywhere.

In the /etc/profile I set the variables as

export JAVA_HOME=/usr/java/jdk1.3.1_02
export $PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar

where /use/java/jdk1.3.1_02 is the dir where the rpm unpackaged itself to

That throws a nasty error after logging in.
I also get a error when I try to compile a java file (with javac), which is to be expected. I'm new to linux myself. Any help is appreciated.

jscott
03-16-2002, 10:43 PM
Originally posted by robeb:
<STRONG>HOME/jre/lib/rt.jar
That throws a nasty error after logging in.
I also get a error when I try to compile a java file (with javac), which is to be expected. </STRONG>


Maybe you could post the errors? That always helps. ;^)