Set up a path for Java Compiler in Red Hat Linux 7.2
Posted on 2002-04-01
Recently, I have just install J2sdk1.4.0 into Red Hat Linux 7.2. I am tired of typing the long path name and I have just included the path into .bash_profile file. I dont know is this the correct way but It seems not as the path is not working. So can anyone tell me what's my mistake.
Just in case I have inserted a path into the correct file (.bash_profile), The contents of the file is as below:
PATH=$PATH: $HOME/BIN; /usr/java/j2sdk1.4.0/bin
Can anyone explain to me my mistake. and in a layman term because I am new to linux.