Results 1 to 4 of 4

Thread: java working but not plugin

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Beans
    304

    java working but not plugin

    In my ubuntu 10.04LTS jre is installed and the commands 'java' and 'javac' are working but firefox is not showing java applets. I have tried following command:

    Code:
    ln -s /opt/java/32/jre1.6.0_30/lib/i386/libnpjp2.so ~/.mozilla/plugins/
    But a broken link is created since there is no such source file.

    As far as I can see, gcj-jre-headless and gcj-jdk are installed.

    Please help.
    Last edited by rng; January 18th, 2012 at 02:37 AM.

  2. #2
    Join Date
    May 2008
    Location
    NL
    Beans
    55

    Re: java working but not plugin

    That looks like you have the Java Runtime installed in /opt. Did you put it there manually as mentioned here http://sites.google.com/site/easylinuxtipsproject/java? Try these terminal commands
    Code:
    java -version
    update-alternatives --query java
    update-alternatives --query jexec
    update-alternatives --query mozilla-javaplugin.so
    to see what's installed where exactly.

  3. #3
    Join Date
    Jun 2011
    Beans
    304

    Re: java working but not plugin

    Following are the results:
    Code:
    $ java -version
    java version "1.5.0"
    gij (GNU libgcj) version 4.4.3
    
    
    $ update-alternatives --query java
    Link: java
    Status: auto
    Best: /usr/bin/gij-4.4
    Value: /usr/bin/gij-4.4
    
    Alternative: /usr/bin/gij-4.4
    Priority: 1044
    Slaves:
     java.1.gz /usr/share/man/man1/gij-4.4.1.gz
    
    
    $ update-alternatives --query jexec
    update-alternatives: error: no alternatives for jexec.
    
    
    $ update-alternatives --query mozilla-javaplugin.so
    update-alternatives: error: no alternatives for mozilla-javaplugin.so.

  4. #4
    Join Date
    May 2008
    Location
    NL
    Beans
    55

    Re: java working but not plugin

    Apparently you only have an ancient and incomplete Java installation. To be honest, I have no idea how or where you could have gotten hold of 1.5.0. Maybe it came with gcj-jdk?

    Anyway, getting applets running in Firefox isn't going to work this way. I suggest you either install OpenJDK or take a look at the webpage I mentioned in my previous message for an alternative.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •