ok, first thing first, if you want to develop java programs (I see that you do), then you need to install j2sdk (the version you have a bit outdated, but it is ok, if you are just a beginer to Java). Open up an Xterm (Gnome Term, Konsole, etc)
Now run the .bin file (but before you do make sure it has executable bit set)
chmod 755 /path/to/j2sdk-1_3_1_03-linux-i386-rpm.bin
it will unpack java into a folder in your current dfirectory, after it is done you can move it to /usr/local for instance
mv j2sdk-1.3.1_03/ /usr/local/java
For this to work you need to be root or you must have enough priveleges to write into /usr/local
now you should setup your path to java executable
to make the PATH permanent you need to include the following line into /etc/profile (if you want all the accounts to have PATH pointed to java) just insert
export PATH OTHER_ENV_VARS
and as a regular user run
It's dot followed by space followed by /etc/profile
so now when you as a regular user issue
it should return the version of java and VM.
have fun coding Java.
Last edited by neo77777; 09-21-2002 at 02:07 PM.