JSDK 1.4.3 problem
I downloaded Java sdk 1.4.3 and I cant get it to work.
On linux i type javac in shell, and i t gives unknown command the location where i installed was predetermined in the installation rpm, which is /usr/java/jsdk1.4.3/bin how can I set a sort of 'classpath' to the dir, and use the compiler in the shell. |
add this line to your .bashrc file:
PATH=/usr/java/jsdk1.4.3/bin:$PATH |
sorry, I forgot to say,
open a new terminal for setting the PATH, then type javac, it should work. This line is for telling the system where the java binary is. If you type "which java" it will tell you where it is (if the system knows). |
All times are GMT -5. The time now is 04:11 AM. |