Advertisement: Linux VPS for $4/month - based on OpenVZ, credit card accepted, automatic setup.
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 Fli's Avatar
    Join Date
    Mar 2013
    Posts
    2,429
    Post Thanks / Like
    Blog Entries
    1

    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: 44
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
    Junior Member Plutonium5793's Avatar
    Join Date
    Nov 2013
    Posts
    1
    Post Thanks / Like


    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

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