LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fedora 18 - Java issues (https://www.linuxquestions.org/questions/linux-software-2/fedora-18-java-issues-4175448449/)

\/4A 02-03-2013 07:03 AM

Fedora 18 - Java issues
 
Hi,

I' ve just done a clean Fedora 18 install and am trying to access any pages on Firefox that require Java, I just get the "plugin is needed......" and selecting "install plugin" asks me to install "java runtime environment 1.7 u11".

Funny enough, when I check the currently installed version, results in
Code:

# java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

Firefox Add-ons manager shows no references to Java.

Ubuntu has the PPA where one can link to the repos and install/update Java automatically.
Wonder how I can add this in Fedora 18.

Any help pls?

tronayne 02-03-2013 07:45 AM

The Java plug-in is, really, a symbolic link to libnpj2.so (I have Oracle JDK, not OpenJDK, but yours should be similar).

On my systems, /usr/lib64/mozilla contains a plugins directory:
Code:

tree /usr/lib64/mozilla
/usr/lib64/mozilla
`-- plugins
    |-- libflashplayer.so
    |-- libnpjp2.so -> /usr/lib64/java/jre/lib/amd64/libnpjp2.so
    `-- skypebuttons.so

1 directory, 3 files

Don't know exactly what Fedora does, but it ought to be similar (and, of course, my not be 64-bit and may not have library directory names like that). If you have this structure, all you need to is a symlink as above. The library name should be nearly the same as libnpjp2.so which is the file to link to.

You need to be aware of Oracle Java plug-in security problems. Please go to http://www.linuxquestions.org/questi...3/#post4882932 and read through the links to US-CERT (there are a lot of links at US-CERT regarding the Java Plug-in and there may or may not be a problem with OpenJDK; not too clear when I read it).

Bottom line is that US-CERT recommends that the Java plug-in be disabled in any browser. It appears that you may actually have an application that requires it and you should be aware of the potential risks posed by having it enabled. This recommendation includes any version of Java Plug-in irrespective of who, when or where it was created.

Hope this helps some.


All times are GMT -5. The time now is 06:46 AM.