Putting the binaries into my path.

Ok, I got the runtime environment extracted from the tar.gz file. The thing works fine (too bad it uses so much memory) but I need to type ./j2se1.3.0/bin/java or whatever to run the thing. I tried copying the bin folder into my /usr/bin and the lib folder into my /usr/lib but that didn't do much. How might I accomplish this?

[342 byte] By [evulish] at [2007-9-26 8:15:48]
# 1

Either put your JAVA_HOME in the path (set PATH=$PATH:$JAVA_HOME)

or generate a symbolic link in your /usr/bin directory (ln -s $JAVA_HOME/bin/java java).

You can also use $JAVA_HOME/bin/.java_wrapper instead of $JAVA_HOME/bin/java and map directly to the java startscript. When you look into your $JAVA_HOME/bin directory you will see, that java is already a symbolic link to .java_wrapper.

kuss at 2007-7-1 18:45:15 > top of Java-index,Desktop,Deploying...