LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-10-2015, 11:12 AM   #1
xzy2435
LQ Newbie
 
Registered: Nov 2003
Location: Rochester MN
Posts: 8

Rep: Reputation: 0
RHEL Firefox java plugin woes


Running RHEL 6.6 and GNOME 2.28 on PPC64.

Java -version shows
java version "1.7.0"
Java(TM) SE Runtime Environment(build pxp6470_27sr2fp10-20141218_02(SR2 FP10))

I have Firefox 31.4, Mozilla/5.0 (X11; Linux ppc64; rv:31.0) Gecko/20100101 Firefox/31.0

I have created the symbolic link to the Java Plugin in the Firefox plugins directory.
/usr/lib64/firefox/plugins
[tosh@RHEL6TOSH plugins]# ls -al
lrwxrwxrwx. 1 root root 41 Feb 10 10:56 libnpjp2.so -> /opt/jdk1.7.0_72/jre/lib/i386/libnpjp2.so

http://java.com/en/download/installed.jsp keeps finding "We are unable to verify if Java is currently installed and enabled in your browser".

Anyone have any pointers on what else to check?
 
Old 02-10-2015, 08:34 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
( ff 31 is not part of the default RHEL6 install
so this MUST be the Firefox from the mozillia site installed someplace

$FIREFOX.INSTALL.FOLDER/browser/plugins/javaplugin.so


by DEFAULT Oracle's java is NOT installed !!!
OpenJDK ( icedtea) IS INSTALLED by default


you are aware that the javaplugin.so in the /use/lib64/browser-plugins/
is a link to /etc/alternatives
and the file in alternatives is in turn a link

to ???? what ever you set it as
openjdk 1.6 or 1.7
or
oracles 1.7
or whatever you installed


also if java and firefox are on DIFFERENT partitions a link will not work ( it will be 0 bits in size )


for example
i have things on different partitions so i have to use a copy/past
/DATA/SUSE/firefox/browser/plugins/javaplugin.so

and that file is really
/usr/lib64/java-1_8_0-openjdk-plugin/lib/IcedTeaPlugin.so

depending on just what is installed and HOW it is installed makes a big differance


my Scientific linux 6.6 install is also set up the same way as my SUSE install ( but using openjdk 1.7 )

Last edited by John VV; 02-10-2015 at 08:45 PM.
 
Old 02-16-2015, 12:20 PM   #3
xzy2435
LQ Newbie
 
Registered: Nov 2003
Location: Rochester MN
Posts: 8

Original Poster
Rep: Reputation: 0
John,
Clearly I am missing some important understanfing in how RHEL v6 is enabling support for FF and JAVA.
I see you making reference to javaplugin.so yet my search on RHEL doc and other google searches says to enable java plugin using libnpjp2.so
I searched the entire volume and got no hits for javaplugin.so
I do however have libnpjp2.so in various places.
BTW, my RHEL is on a single partition.
Would you mind demystifying things a little further please. Thx.
 
Old 02-16-2015, 02:54 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
first
OpenJDK is / was installed
this is default

Oracles java is NOT installed

if you want to REPLACE OpenJDK 1.7 with Oracles JAVA 1.7
you need to UNINSTALL openjdk
and / or
use "alternatives" to switch the DEFAULT java that is used

there are TWO different java's

( and they can be installed side by side )


remember a few years back
Microsoft tried killing off SUN java with a closed proprietary "visual java"

oracle is now trying that since they bought out SUN


so the emergence of the OPEN
OpenJDK -- " Icedtea"


also
Seeing as this IS redhat
you DO have the REQUIRED support contract that you bought
-- the Standard 1 year REQUIRED contract is $299 PER YEAR
--- and it is REQUIRED

that support contract also gets you access to the RedHat knowledgebase
Log in to the redhat web site with the credentials you set up when you bought the license
and do a search for JAVA
the FULL and VERY complete instructions ARE in the guides that you pain for access to


http://www.redhat.com/en/search/java
you will need to be loged in to read MOST of the results
 
  


Reply



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
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
java firefox plugin jaara Incognito 2 01-14-2010 04:15 PM
Java plugin to firefox Quads Linux - Newbie 2 04-25-2009 12:44 AM
Firefox refuses to load Java jnlp files - plugin and java ok Melsync Linux - Software 1 06-25-2006 04:09 PM
Java/Firefox java plugin not working with HP Webjetadmin iamskykid Linux - Software 2 03-02-2006 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration