Mozilla claims to be a non-profit company as well.
#Java for firefox ubuntu free
The plugin relies on symlink priority, so ensure that jdk8 has the highest priority then update-alternatives to auto mode.Mozilla Firefox, very much like Linux, is free and open-source software. Maybe one of these files is referencing openJdk6 ? ~/.config/icedtea-web/deployment.propertiesĪnd a global path /etc/.java/.deploy/deployment.properties.Itweb-settings configuration file references two possible paths from the HOME directory for the deployment.properties Sudo update-alternatives -configure itweb-settings Then configure itweb-settings as you require to use each JVM Sudo update-alternatives -install mozilla-plugins.so sudo update-alternatives -install itweb-settings If this works for jdk8 then update-alternatives for each JVM confirm the contents of the config file references the correct JVMĬonfirm the value of symlink itweb-settings to the correct configuration file per JVM sudo update-alternatives -display itweb-settings.usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64Īnd /usr/lib/jvm/java-8-openjdk-amd64/jre/bin confirm the executable and config files are located within the openJDK8 copy folder.Since, you have already installed IcedTea-plugin8 you need to confirm the configuration then attempt to select the different JVMs as you required. However, the IcedTea-plugin7 does not place a configuration or executable within the copy folder of java-8-openjdk-amd64/jre/ which could explain the selection of the default / higher priority jdk7 as defined by the symlink mozilla-javaplugin.so.
![java for firefox ubuntu java for firefox ubuntu](https://i.stack.imgur.com/gRKhv.png)
#Java for firefox ubuntu install
On startup, Firefox references the java plugin file located in /usr/lib/mozilla/plugins, this file could be named libjavaplugin.so or mozilla-javaplugin.soĬurrently, the IcedTea install from Ubuntu Software Center is IcedTea-plugin7 then its configuration results in the incorrect JVM version reported by FireFox about:plugins and from the Oracle browser test - despite a prior OpenJDK8 installation. I think the question should be modify to: why IcedTeaPlugin.so in icedtea-8-plugin report java 1.6.0_50 in Firefox? Since I only have 1 version jvm installed in my system now.
![java for firefox ubuntu java for firefox ubuntu](https://i.ytimg.com/vi/GvRVbpAaOe8/hqdefault.jpg)
I do see firefox using the correct IcedTeaPlugin.so in the about:plugins. The itweb-settings is also pointed to correct version. The mozilla-plugins.so points to /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so. I confirmed all the executable and configs are located in /usr/lib/jvm/java-8-openjdk-amd64/.
![java for firefox ubuntu java for firefox ubuntu](https://www.tecmint.com/wp-content/uploads/2015/12/Best-Web-Browsers-for-Linux.png)
![java for firefox ubuntu java for firefox ubuntu](https://susanoku.files.wordpress.com/2011/11/l.png)
The only thing I install is openjdk-8-jre and icedtea-8-plugin. Now I removed all the openjdk-* packages in my system. Does anyone have idea on how firefox discovery the java version on my laptop? The oracle java version verify page can correctly show my java version is 1.8.0_45-internal. The plugin path is correctly pointed to Path: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so However, the about:plugins shows that my java version is application/x-java-bean jpi-version=1.6.0_50. I installed the icedtea-8-plugin then removed the icedtea-7-plugin. How can I see my latest java in the browser plugin? I can see my newest java version through the oracle java version verify page. I already tried to Re-initializing the plugins database, but it doesn't work. But I don't know why my firefox always shows that my latest java version isĪpplication/x-java-bean jpi-version=1.7.0_50
#Java for firefox ubuntu manual
* 0 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 auto modeġ /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual modeĢ /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual modeģ /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode There are 3 choices for the alternative java (providing /usr/bin/java). I can see all of them through update-alternative -config java. In my laptop, I have openjdk1.6, openjdk-1.7, and openjdk1.8 installed.