Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
16
rated 0 times [  16] [ 0]  / answers: 1 / hits: 31094  / 2 Years ago, wed, september 21, 2022, 3:28:18

Apparently, I have OpenJDK 6 JRE (openjdk-6-jre 6b27-1.12.6-1ubuntu0.12.04.2) and 7 JRE (openjdk-7-jre 7u25-2.3.10-1ubuntu0.12.04.2) installed in parallel – I don't know why I have both of them, I can't remember installing any of them manually.



However, the Firefox Java plugin is occasionally reported to be out of date by some websites, and it seems to me that it relies on JRE 6. How can I make Firefox use the newer version? Removing JRE 6 seems like a bad idea; when I attempted to do so in synaptic it appeared to me that a lot of software still relies on the older JRE, since removing it would have removed programs like jedit as well.



Do I mix up stuff? I'm not even sure how the FF plugin interferes with the OpenJDK JRE's.



EDIT:



Having tried even more, the problem persists. Using update-alternatives --config java, I see that the default Java version (with status "manual mode") is already set to Java 7, and java -version returns "1.7.0_25". The file /usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/IcedTeaPlugin.so exists, but still Firefox shows the Java 6 plugin when looking at about:plugins.



To sum it up:



How do I make Firefox use the IcedTea plugin belonging to the default Java version?


More From » firefox

 Answers
0

Install the version 7 of the icedtea plugin either from the software center or using command line:



Open a terminal by pressing Ctrl+Alt+T and enter:



sudo apt-get install icedtea-7-plugin


Remove the older icedtea:



sudo apt-get remove icedtea-6-plugin


Then restart Firefox and type about:plugins to check the version of java plugin. Or go to java website to check the version as well as if it is working properly.



Hope this helps


[#29395] Thursday, September 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
barted

Total Points: 424
Total Questions: 103
Total Answers: 101

Location: Djibouti
Member since Sun, Feb 27, 2022
2 Years ago
barted questions
;