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:
PATH="$PATH:/opt/java/jre1.6.0_20/bin"

Below is the real PATH for my JRE binaries:
PATH="$PATH:/opt/java/jre1.6.0_20/bin"

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.

Olcol

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Last query:
2010-10-06
Last reply:
2010-10-08
Federico Vera (fedevera) said : #1

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.