Reputation: 44114
I'm trying to test a Java applet in Firefox in Ubuntu 10.10. Unfortunately it doesn't work out of the box. I have two issues:
sun-java6-plugin
but have no idea which one is used by Firefox (and other browsers) now. How can I make sure?I'm deploying the applet via JNLP. You can see it here, if it helps. I have sun-java6-jdk
as the default Java.
(Sorry if this question belongs on SuperUser or another site, but I figured that with #2 especially this is a programming related question)
Upvotes: 3
Views: 7709
Reputation: 1330
With :
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/64/jre1.6.0_20/bin/java" 1
sudo update-alternatives --set java /opt/java/64/jre1.6.0_20/bin/java
You can set the default jre (in this case a 64 bits one)
with:
java -version
you can see the version
With about:plugins you can see which jre firefox is using
Upvotes: 1