![]() (Download tar.gz version) We first create the directory and place java mkdir mv -f jre1.7.0_05/ /opt/java/ Final update-alternatives -install /usr/bin/java java /opt/java/jre1.7.0_05/bin/java update-alternatives -set java export JAVA_HOME="/opt/java/jre1.7.0_05" Adding the plugin to Firefox.įor Java 7 (32 ln -sf $JAVA_HOME/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/įor Java 8 (64 ln -sf $JAVA_HOME/jre/lib/amd64/libnpjp2. sudo mv tar.sudo mkdir /usr/java step 4: Now we will move âjretar.gzâ to â/usr/javaâ. so cd /Downloads step 3: now we will create directory called âjavaâ in /usr. Close the preferences window and the change will be saved. ![]() Make sure the Enable Java checkbox is checked if you want Java enabled or unchecked if you want it disabled. In the preferences, window click on the Security icon. NOTE: Before installing Java make sure you kill killall -9 /opt/firefox/firefox-bin You can download java from the official website. step 1: Download java for your system (i.e for 32 bit or 64 bit machine) step 2: Open Terminal and go to path where java is downloaded. To enable/disable Java in the Safari browser: Select Safari -> Preferences from the menu toolbar. I followed the instructions here and it worked: Do you want the JDK or the JRE? Anyways, I had this problem too, a few weeks ago.
0 Comments
Leave a Reply. |