Hey guys, i wanted to ask if anyone knows how to make the java executable files (javac/java) system wide available. I have jdk 1.5 installed in /usr/local/jdk1.5.0 and i also created a symlink in the same directory as /usr/local/jdk . I've tried adding these two lines in etc/profile: export PATH=$PATH:/usr/local/jdk/bin and export JAVA_HOME=/usr/local/jdk thinking it would make the executables available anywhere, but it didn't. I logout and login again but still get "command not found" error when i type javac.
Can anyone help out here please? It's not so much a java problem but simply knowing how to make this process work i think.
Thanks.
Can anyone help out here please? It's not so much a java problem but simply knowing how to make this process work i think.
Thanks.
Comment