Erroneous Java JRE PATH in a .profile after ugrading from 10.04 to 10.10

Asked by olcol on 2010-10-06

Erroneous Java JRE PATH in .profile after ugrading from 10.04 to 10.10
and installing sun-java6 packages.

Below is the definition of PATH in my .profile file:

Below is the real PATH for my JRE binaries:

There is no /opt in my filesystem.

Is it a bug in the uprade process or in the sun-java6 package
installation process or both or did I miss something?

Thanks for your replies and all the good job done on this wonderful distro.


Question information

English Edit question
Ubuntu sun-java6 Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Federico Vera (fedevera) said :

Ubuntu Maverick (10.10) is shipped with sun-java6-jre1.6.0_21 it might be an upgrade issue. You could try the following, open a terminal: 'Applications->Accesories->Terminal' and type 'update-alternatives --config java' (without the apostrophes), or 'update-java-alternatives -l' to find out if any jvm remains on your system.

Note, before doing that, comment (add a '#' at the beginning) the java related paths in your '.profile' file.

Hope this helps!

Can you help with this problem?

Provide an answer of your own, or ask olcol for more information if necessary.

To post a message you must log in.