java: command not found
I have installed java via all their different versions and I am still not getting this required command. When I type java, just get, java: command not found. Any idea on how to fix this? Java installed it self into /usr/java/... but no command :(
|
You have to add the java bin directory to your path. Search these forums - the question seems to pop up once a day. :)
hw |
mine does the same when I type in java.
so that is not a problem - mine works fine. Did the installation go without any problems? |
ALSO does Java show in your browser extensions ?
NB you may find the answer in one of the many Java related threads already in the forum - run a search - particularly something like - link java if you did not link the files yet. |
here is a simple way to fix ur java problem.
use any text editor and go to your home folder, e.g, /home/*blake* and open a file by the name .bash_profile add :/usr/java/j2sdk1.4.2_01/bin at the end of ur $PATH variable (make sure to change the path i used to fit the location of your java bin directory). |
All times are GMT -5. The time now is 10:47 AM. |