JAVA command no longer works after upgrading to latest version
Posts: 40
I installed the latest version of JAVA via synaptic and suddenly the command "JAVA" no longer can be invoked from a terminal window, thus not allowing me to run any java apps I need to run that way. Up until this point it worked normally.
I then downloaded the JRE directly from SUN and installed it...No Joy.
I then downloaded the JDK directly from SUN and installed it...NO Joy.
Is this something in the Path I need to re-set? how can I fix this?
Thanks in Advance.
The command which java has
Posts: 40
The command which java has no effect.
How does one edit the path settings? What file is this stored in?

It's Not Installed
Posts: 5513
grasshopper, if "which java" does not return any response, then java is not installed on your system. "which somecommand" returns full path information on any part of somecommand that it can find. So you may need to try to uninstall whatever you have and perform a re-install of java. I cannot help you with that, but I'm sure drlizau will give you good directions 
Jon
In /dev/null, no one can hear you type...

Not completely true
Posts: 323
Which java will find the path to java if the links in /usr/bin are correct. I had to change this in mepis 7.0 when I needed java 5 but the links pointed to java 6 by a VERY circuitous route.
java path
Posts: 4864
java path usually contains the version number because its part of the directory structure
try which java to get a path
then add to your PATH (and perhaps remove the old entry)