Deal with Java - Embedding Java into an (old) Web Browser

descr

Why do Java, Silverlight, Adobe Acrobat and other plugins no longer work? https://support.mozilla.org/en-US/kb/npapi-plugins

install

look at what java version ilo3 applet refers to. here on an up-to-date proliant g7 ilo3 we have java 8

    tar xzf jdk-8u271-linux-x64.tar.gz
    mv jdk1.8.0_271/ /usr/lib/jvm/

then install an old version of Firefox ESR, namely v52

mkdir ~/opt/
cd ~/opt/
rm -rf firefox/

ver=52.4.1esr
ver=52.9.0esr

wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/$ver/linux-x86_64/en-US/firefox-$ver.tar.bz2

tar xjf firefox-$ver.tar.bz2
cd firefox/

YOU ALSO NEED TO PREVENT IT FROM UPDATING ITSELF TO v60

rm -f update*

ready to go

./firefox -no-remote
#--ProfileManager

also disable updates from the Settings

Edit > Preferences
Advanced // Update // Never check for updates

deploy the Java plugin

cd ~/.mozilla/plugins/
#cd /usr/lib/firefox-addons/plugins/
ln -s /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so

weaken the crypto requirements

Start menu > Oracle Java 8 plugin control panel
#Start menu > Oracle Java 9 plugin control panel

or

/usr/lib/jvm/jre1.7.0_80/bin/jcontrol

or

ControlPanel

then

security > add exceptions e.g. http://localhost:xx (the port number matters)

to get to the Java console of e.g. some old enterprise-class servers, a quick and dirty fix would be

updatedb
locate java.policy

#cp -pi /usr/lib/jvm/java-8-oracle/jre/lib/security/java.policy \
#   /usr/lib/jvm/java-8-oracle/jre/lib/security/java.policy.dist
#vi /usr/lib/jvm/java-8-oracle/jre/lib/security/java.policy

cp -pi /etc/java-8-oracle/security/java.policy /etc/java-8-oracle/security/java.policy.dist
vi /etc/java-8-oracle/security/java.policy

cp -pi /etc/java-8-openjdk/security/java.policy /etc/java-8-openjdk/security/java.policy.dist
vi /etc/java-8-openjdk/security/java.policy

grant {
    permission java.security.AllPermission;
};

Resources

Linux 64-bit installation instructions for Java https://www.java.com/en/download/help/linux_x64_install.xml

Java Downloads for Linux https://www.java.com/en/download/linux_manual.jsp

9 Manual Installation and Registration of Java Plugin for Linux https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_plugin.html

old java versions

Oracle Java Archive https://www.oracle.com/java/technologies/oracle-java-archive-downloads.html

Java 8 Release Highlights https://java.com/en/download/faq/release_changes.xml

Java 7 Release Highlights https://java.com/en/download/faq/release7_changes.xml

Java SE 7 Archive Downloads https://www.oracle.com/java/technologies/javase/javase7-archive-downloads.html

Java SE 6 Downloads https://www.oracle.com/java/technologies/javase-java-archive-javase6-downloads.html

openjdk + icedtea-plugin

How to install the Java plugin for Firefox? https://askubuntu.com/questions/354361/how-to-install-the-java-plugin-for-firefox/354406


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun