problem installing java6 on ubuntu 9.04

Asked by billylondon

I recently installed java6 hoping to run java on firefox. However, there seems to be some problems as the icon on the menu doesn't run (>Applications>Internet>Sun Java 6 Web Start).

So I did some research on the net and follow the instruction using Terminal to configure it. Here's some error message I got:

1. I am sure that java6 is installed on my system, because I type the command $ java -version, and it shows:
  "java version 1.6.0_13"

2. however, when I try to configure it with the command $ sudo update-alternatives --config java, it shows:
  "There is only 1 program which provides java
(/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure."

3. and, when I use command $ sudo update-java-alternatives -s java-6-sun, here is the error message I get:
  "No alternatives for firefox-javaplugin.so.
No alternatives for iceape-javaplugin.so.
No alternatives for iceweasel-javaplugin.so.
No alternatives for midbrowser-javaplugin.so.
No alternatives for mozilla-javaplugin.so.
No alternatives for xulrunner-1.9-javaplugin.so.
No alternatives for xulrunner-javaplugin.so."

4. when I use the command $ sudo vi /etc/jvm to open JVM, the screen is empty.
I follow instruction to type /usr/lib/jvm/java-6-sun, the following error appears:

"E486 Pattern not found: usr"

Can anyone help me to fix this?

Thanks a lot.

Bill

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
actionparsnip (andrew-woodhead666) said :
#1

can you provide the output of

uname -a

thanks

Revision history for this message
billylondon (billylondon) said :
#2

The output of $ uname -a is:

Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux

tks

Bill

Revision history for this message
DkBybee (bybeewrench) said :
#3

I'm having a similar issue with my 32 bit version of Ubuntu 9.04. Here is the output of java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

However, I get this error when testing:

Java Version: 1.6.0_0 from Sun Microsystems Inc.

Is this a similar or different problem?

Thanks in advance!

Revision history for this message
DkBybee (bybeewrench) said :
#4

This pretty basic, here goes. I removed both Gnash and the swfdec through Synaptic Package Manager. My Adobe Flash plugin works fantastic now. Very fast.

Can you help with this problem?

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

To post a message you must log in.