LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-03-2013, 07:03 AM   #1
\/4A
Member
 
Registered: Aug 2012
Posts: 112

Rep: Reputation: Disabled
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?
 
Old 02-03-2013, 07:45 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,007

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
flash and java issues toledowizard DamnSmallLinux 2 03-09-2009 05:23 PM
cant compile java files in fedora 8.. java/ maranganesan Linux - Software 4 12-31-2007 12:21 PM
Java issues mtecknology Linux - Software 2 07-01-2005 02:24 PM
Issues with JAVA Scrob Linux - Newbie 1 02-18-2005 01:45 PM
Java Issues odd Linux - Software 11 05-03-2004 02:34 PM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration