Click to See Complete Forum and Search --> : Installing the JRE


cmill
03-11-2004, 04:12 AM
I'm pretty new to linux, however I have basic knowledge of how to install, copy, chmod etc. I'm a programming student and I'm trying to install the JRE in Linux. I think it installed to the correct directory. (/usr/bin). But I don't know if the system knows it's there. Supposedly I'm supposed to be able to type java -version to find out what version of java I'm running, but it doesn't recognize the command. Any thoughts? Thanks.

deathadder
03-11-2004, 04:18 AM
Your going to have to change you PATH to get the new commands to work try the following comand in a shell:

export PATH=$path/to/java/bin:$PATH

cmill
03-11-2004, 05:01 AM
Ok, I tried that and it didn't work. I don't understand what the PATH is very well, maybe someone could explain it a little bit. Thanks a bunch.

myshkin
03-11-2004, 06:03 AM
maybe this might help you. http://www.linuxjunior.org/cgi-bin/pet/pet.cgi?SUBMIT=Display&id=95