Reputation: 9764
I do have JDK, everything works fine in Ubuntu, I mean IDE, some apps, I'm able to develop and run projects, but I got a message in Chrome: Java(TM) is required to display this content
I need to run this applet. How do I do that? I need to run it in Chrome because of the GWT plugin installed here. Should I add some parameters in a script, that would run it? Or is there another way? I saw links that proposed to install Java plugin for Chrome in Windows and Mac, but not Linux. Thanks in addvance.
I made a link to /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libnpt.so
in /opt/google/chrome/plugins
, it didn't help (well, it's not libnpjp2.so
, which is recommended for this case, but it's the closest one I saw there).
Update: I found libnpjp2.so
on my machine, the following command helped: sudo ln -s /usr/lib/jvm/jdk1.7.0_03/jre/lib/amd64/libnpjp2.so /opt/google/chrome/plugins/
Upvotes: 17
Views: 72523
Reputation: 1690
Still good for Opera 12.16 & Ubuntu 14.04, but need to install both Icedtea's to get applets work
sudo apt-get install icedtea-7-plugin icedtea-6-plugin
Upvotes: 0
Reputation: 127
there is no way to run java plugin since chrome stops support http://en.wikipedia.org/wiki/NPAPI plugins
Upvotes: 1
Reputation: 1442
From a previous question:
Yes, add --enable-plugins to your chrome command. It's currently not considered stable, but it works for me.
Actually, it seems to just work without that. Have you tried it? You can find a test applet here. Presumably you'll need Sun's Java installed.
UPDATE: see the link for further details. Lots of helpful answers.
Upvotes: 1
Reputation: 3542
Current Chrome version do not requires more this option.
To install java plugin for browsers, if you're using packaged java, install one of the following packages according you java version:
sudo apt-get install icedtea6-plugin
or
sudo apt-get install icedtea-7-plugin
To check you version, open a terminal (command line) and type:
java -version
Java 1.6 will require icedtea6-plugin
, Java 1.7 icedtea-7-plugin
.
Upvotes: 13
Reputation: 31
The best solution I found, (none of these suggestions worked for me), is as followings: First install Icedtead pluging by:
Then in your chrome browser go to:
Upvotes: 3
Reputation: 181
On Ubuntu 13.04 x64 ,
sudo apt-get install icedtea-7-plugin
is working great. Thank you.
Upvotes: 3