Fli
11-04-2013, 12:02 PM
Are you getting "We are unable to verify if Java is currently installed and enabled in your browser." in your browser? Or your Java dont works in web browser on Linux OS? This guide may help
Help complete this tutorial on how to setup java on Linux and make it working in Firefox.
Im running VPS made on OpenVZ virtualization and i listen there are some issues with java and OpenVZ, but i have also access on my vps host server.
TUTORIAL COMPLETE - Here is how to make Java working in Firefox on Linux CentOS 5.x 64 Redhat. But this guide is for 32 bit systems too. Continue reading..
On my linux command line i setup vncserver and fluxbox desktop (http://internetlifeforum.com/linux-forums/1082-how-setup-fluxbox-vnc-server-remote-desktop-linux-centos-5-x/).
Now i can run Firefox in my VNC desktop, but firefox dont contains Java (reports on https://www.java.com/en/download/installed.jsp?detect=jre ).
So what i did is downloaded RPM file from https://www.java.com/en/download/manual.jsp
i viewed the download page+downloaded thru w3m linux browser (w3m https://www.java.com/en/download/manual.jsp)
then "rpm -ivh filename.rpm"
then "yum install java" OK
(note if your system dont support .rpm you may try this command under Debian/Ubuntu "sudo apt-get install openjdk-6-jdk" OR download&extract .tar.gz archive according to this guide (https://www.java.com/en/download/help/linux_install.xml). OR try alien (http://www.debianadmin.com/install-rpm-files-in-debian-and-ubuntu.html) to convert rpm/deb)
in my case it installed this:
java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.41.1.11.11.90.el5_9
Dependency Installed:
jpackage-utils.noarch 0:1.7.3-1jpp.3.el5 tzdata-java.x86_64 0:2013g-1.el5
command "java -version" now returns:
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
then i did "cd /usr/lib64/mozilla/plugins/"
then i symlinked /usr/java/latest/lib/amd64/libnpjp2.so file to /usr/lib/mozilla/plugins/ :
ln -s /usr/java/latest/lib/amd64/libnpjp2.so
("lib64" can be just "lib" in case of you running on 32 bit system; also "amd64" can be "i386" on 32bit OS , so edit before mentioned paths accordingly) . Its done, file (symlink) is there in firefox plugins folder, restart firefox and Java is found when running check: https://www.java.com/en/download/installed.jsp?detect=jre
49
In Firefox/Tools/Add-ons/Plugins there is an addon "Java(TM) Plug-in"
So this is how i made Java working in my Firefox and on Linux VPS under OpenVZ.. how it works with you?
Help complete this tutorial on how to setup java on Linux and make it working in Firefox.
Im running VPS made on OpenVZ virtualization and i listen there are some issues with java and OpenVZ, but i have also access on my vps host server.
TUTORIAL COMPLETE - Here is how to make Java working in Firefox on Linux CentOS 5.x 64 Redhat. But this guide is for 32 bit systems too. Continue reading..
On my linux command line i setup vncserver and fluxbox desktop (http://internetlifeforum.com/linux-forums/1082-how-setup-fluxbox-vnc-server-remote-desktop-linux-centos-5-x/).
Now i can run Firefox in my VNC desktop, but firefox dont contains Java (reports on https://www.java.com/en/download/installed.jsp?detect=jre ).
So what i did is downloaded RPM file from https://www.java.com/en/download/manual.jsp
i viewed the download page+downloaded thru w3m linux browser (w3m https://www.java.com/en/download/manual.jsp)
then "rpm -ivh filename.rpm"
then "yum install java" OK
(note if your system dont support .rpm you may try this command under Debian/Ubuntu "sudo apt-get install openjdk-6-jdk" OR download&extract .tar.gz archive according to this guide (https://www.java.com/en/download/help/linux_install.xml). OR try alien (http://www.debianadmin.com/install-rpm-files-in-debian-and-ubuntu.html) to convert rpm/deb)
in my case it installed this:
java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.41.1.11.11.90.el5_9
Dependency Installed:
jpackage-utils.noarch 0:1.7.3-1jpp.3.el5 tzdata-java.x86_64 0:2013g-1.el5
command "java -version" now returns:
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
then i did "cd /usr/lib64/mozilla/plugins/"
then i symlinked /usr/java/latest/lib/amd64/libnpjp2.so file to /usr/lib/mozilla/plugins/ :
ln -s /usr/java/latest/lib/amd64/libnpjp2.so
("lib64" can be just "lib" in case of you running on 32 bit system; also "amd64" can be "i386" on 32bit OS , so edit before mentioned paths accordingly) . Its done, file (symlink) is there in firefox plugins folder, restart firefox and Java is found when running check: https://www.java.com/en/download/installed.jsp?detect=jre
49
In Firefox/Tools/Add-ons/Plugins there is an addon "Java(TM) Plug-in"
So this is how i made Java working in my Firefox and on Linux VPS under OpenVZ.. how it works with you?