java 6

Asked by sasamen

plugin java 6 not installed

ProblemType: Package
Architecture: i386
Date: Mon Dec 7 22:07:49 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: il sottoprocesso nuovo script pre-installation ha restituito lo stato di errore 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: sun-java6-jre (not installed)
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
SourcePackage: sun-java6
Title: package sun-java6-jre (not installed) failed to install/upgrade: il sottoprocesso nuovo script pre-installation ha restituito lo stato di errore 1
Uname: Linux 2.6.31-16-generic i686

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
sasamen (sasamen) said :
#1
Revision history for this message
Alex Wardle (awardle) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs .

Revision history for this message
Tim Tierney (timtierney) said :
#3

Open the terminal and run "sudo apt-get install sun-java6-jre".

However, Ubuntu will still use OpenJDK. You have to change it to the Sun Java VM for system wide use. Run the command.

"sudo update-java-alternatives --list"

Output should say something like this:

output:

   java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun
   java-6-sun 63 /usr/lib/jvm/java-6-sun

The one of interest is the "java-6-sun" line. This verifies that is indeed installed. Then run:

"sudo update-java-alternatives --set java-6-sun"

Hope this helps. :)

Can you help with this problem?

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

To post a message you must log in.