Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently installed Ubuntu 12.10, and I just now realized I haven't installed Java on it.

When I was going to, I saw that I already have java installed.

java -version gives me:

OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10)

OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

Yet I can't see any applets in Firefox. What's the problem?

share|improve this question
    
Can you explain what is not working? Or do you want the java from oracle? –  Thomas15v Mar 6 '13 at 14:59
add comment

2 Answers 2

up vote 5 down vote accepted

You have the JRE installed, but not the browser plug-in.

You will need to install icedtea-7-plugin Install icedtea-7-plugin to be able to use Java applets in Firefox.

share|improve this answer
add comment

Oracle Java

You might want to install Oracle Java 7 anyway, because applets can be a bit nitpicky about the versions (often requiring the Oracle version). Oracle Java and OpenJDK can co-exist - you do not have to uninstall the other one.

In the terminal:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Use this command to select which one you want to enable:

sudo update-alternatives --config java
share|improve this answer
    
Does this also install the browser plugin? –  gertvdijk Jun 21 '13 at 13:53
    
@gertvdijk Yes. –  pileofrocks Jul 7 '13 at 14:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.