Advertisement: Linux VPS from $4/month - contact support for custom offer.
See the top rated post in this thread. Click here

+ Post New Thread
Results 1 to 2 of 2

Thread: Installing Java on Linux for Firefox, how to?

  1. #1
    Administrator
    Join Date
    Mar 2013
    Posts
    2,725

    Installing Java on Linux for Firefox, how to?

    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.


    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. OR try alien 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

    Name:  s740T.jpg
Views: 270
Size:  71.6 KB

    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?

  2. #2


    1/1 found it usefull/helpfull Is this useful / helpfull? Yes | No
    This worked well for me under fedora 19 for getting Java to Seamonkey (firefox alternative)

+ Post New Thread

Similar Threads

  1. Replies: 0
    Last Post: 01-09-2019, 09:58 AM
  2. Replies: 0
    Last Post: 06-03-2014, 07:36 PM
  3. Replies: 0
    Last Post: 11-19-2013, 09:58 AM
  4. Replies: 1
    Last Post: 11-18-2013, 01:35 PM
  5. Tutorial: Installing CSF (Config Server Firewall) on linux
    By Fli in forum Security, protection
    Replies: 0
    Last Post: 06-28-2013, 01:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam