LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-08-2007, 04:13 AM   #1
veri745
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Rep: Reputation: 0
Problems installing Java Runtime Environment


I'm new to FC6, I just got my installation up and running. Now I'm trying to get all my plugins for my internet browser working, and the first one I install (JRE) is being a pain.

I'm running the x86_64 version of FC6, so that may be causing some of the issues. Anyway, I installed JRE according to this page.

Running the command
Code:
# java -version
results in
Code:
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Server VM (build 1.5.0_11-b03, mixed mode)
so that appears to have worked atleast somewhat.

Just to give an idea of what is installed:
Code:
# ls -l /usr/lib/mozilla/plugins/
total 8
lrwxrwxrwx 1 root root 39 Apr  7 20:52 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx 1 root root 58 Apr  7 20:19 libjavaplugin_oji.so -> /usr/java/jre1.5.0_11/plugin/i386/ns7/libjavaplugin_oji.so

# ls -l /usr/lib/jvm
total 36
lrwxrwxrwx 1 root root   26 Apr  7 17:42 java -> /etc/alternatives/java_sdk
lrwxrwxrwx 1 root root   32 Apr  7 17:42 java-1.4.2 -> /etc/alternatives/java_sdk_1.4.2
lrwxrwxrwx 1 root root   22 Apr  7 17:42 java-1.4.2-gcj -> java-1.4.2-gcj-1.4.2.0
drwxr-xr-x 6 root root 4096 Apr  7 17:42 java-1.4.2-gcj-1.4.2.0
lrwxrwxrwx 1 root root   30 Apr  7 17:42 java-gcj -> /etc/alternatives/java_sdk_gcj
lrwxrwxrwx 1 root root   27 Apr  7 00:12 jre-1.4.2 -> /etc/alternatives/jre_1.4.2
lrwxrwxrwx 1 root root   26 Apr  7 00:12 jre-1.4.2-gcj -> java-1.4.2-gcj-1.4.2.0/jre
lrwxrwxrwx 1 root root   25 Apr  7 00:12 jre-gcj -> /etc/alternatives/jre_gcj
I'm really confused why I get nothing from my browswer; just the stupid puzzle piece telling me to 'click here to download plugin'

Can someone help me out with this?
 
Old 04-08-2007, 09:52 AM   #2
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
What do you see when you type "about:plugins" in the url bar of Firefox? Did you make the symlinks, to both /usr/lib/firefox-1.5.0.x/plugins and /usr/lib/mozilla/plugins?

Edit: How does one type : and p without having it turn into a smiley?

Last edited by Glennzo; 04-10-2007 at 03:38 AM.
 
Old 04-08-2007, 02:00 PM   #3
veri745
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
I don't see libjavaplugin_oji.so when I go to about:plugins.
I have linked the libjavaplugin_oji.so file to several places though:
Code:
$ ls -l /usr/lib/firefox-1.5.0.10/plugins/
total 48
lrwxrwxrwx 1 root root    39 Apr  7 20:52 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx 1 root root    53 Apr  8 10:50 libjavaplugin_oji.so -> /opt/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 18528 Mar 13 06:16 libnullplugin.so
-rwxr-xr-x 1 root root 10788 Mar 13 06:16 libunixprintplugin.so


$ ls -l /usr/lib64/firefox-1.5.0.10/plugins/
total 44
lrwxrwxrwx 1 root root    53 Apr  8 10:51 libjavaplugin_oji.so -> /opt/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 19952 Mar 13 06:15 libnullplugin.so
-rwxr-xr-x 1 root root 10952 Mar 13 06:15 libunixprintplugin.so

$ ls -l /usr/lib/mozilla/plugins/
total 8
lrwxrwxrwx 1 root root 39 Apr  7 20:52 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx 1 root root 53 Apr  8 01:26 libjavaplugin_oji.so -> /opt/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so

$ ls -l /usr/lib64/mozilla/plugins/
total 3180
lrwxrwxrwx 1 root root     53 Apr  8 02:17 libjavaplugin_oji.so -> /opt/jre1.6.0_01/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root  33160 Jan 29 11:10 libtotem-basic-plugin.so
-rw-r--r-- 1 root root    191 Jan 29 11:10 libtotem-basic-plugin.xpt
-rwxr-xr-x 1 root root  33072 Jan 29 11:10 libtotem-complex-plugin.so
-rw-r--r-- 1 root root    204 Jan 29 11:10 libtotem-complex-plugin.xpt
-rwxr-xr-x 1 root root  33360 Jan 29 11:10 libtotem-gmp-plugin.so
-rw-r--r-- 1 root root    274 Jan 29 11:10 libtotem-gmp-plugin.xpt
-rwxr-xr-x 1 root root  33064 Jan 29 11:10 libtotem-mully-plugin.so
-rw-r--r-- 1 root root    191 Jan 29 11:10 libtotem-mully-plugin.xpt
-rwxr-xr-x 1 root root  33072 Jan 29 11:10 libtotem-narrowspace-plugin.so
-rw-r--r-- 1 root root    197 Jan 29 11:10 libtotem-narrowspace-plugin.xpt
-rwxr-xr-x 1 root root  27840 Jul 12  2006 mozplugger.so
-rwxr-xr-x 1 root root 576801 Mar 21 15:21 mplayerplug-in-dvx.so
-rwxr-xr-x 1 root root   1021 Mar 21 15:21 mplayerplug-in-dvx.xpt
-rwxr-xr-x 1 root root 577065 Mar 21 15:21 mplayerplug-in-qt.so
-rwxr-xr-x 1 root root   1021 Mar 21 15:21 mplayerplug-in-qt.xpt
-rwxr-xr-x 1 root root 577105 Mar 21 15:21 mplayerplug-in-rm.so
-rwxr-xr-x 1 root root   1021 Mar 21 15:21 mplayerplug-in-rm.xpt
-rwxr-xr-x 1 root root 580689 Mar 21 15:21 mplayerplug-in.so
-rwxr-xr-x 1 root root 577313 Mar 21 15:21 mplayerplug-in-wmp.so
-rwxr-xr-x 1 root root   1021 Mar 21 15:21 mplayerplug-in-wmp.xpt
-rwxr-xr-x 1 root root   1021 Mar 21 15:21 mplayerplug-in.xpt
The plugins listed from about:plugins appear to correspond to the ones from
/usr/lib64/mozilla/plugins/

*edit* I suppose I should mention I removed my previous installation and reinstalled JRE according to this page

Last edited by veri745; 04-08-2007 at 02:03 PM.
 
Old 04-08-2007, 02:34 PM   #4
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
You could be right. It may be a 64 bit issue. Have you had a look over at the Fedora Forum? www.fedoraforum.org
 
Old 04-08-2007, 03:34 PM   #5
veri745
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
I took a look over at FedoraForums.org in the x86_64 section and found this

I installed Blackdown Java and everything seems to be working OK now.

Thanks for the replies
 
Old 04-08-2007, 03:37 PM   #6
veri745
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Glennzo
Edit: How does one type : and p without having it turn into a smiley?
In the 'Additional Options' below the posting editor there is a radio button labeled 'Disable smilies in text'

*edit* You have to be in the Advanced posting editor, the 'Quick Reply' section doesn't have that option

Last edited by veri745; 04-08-2007 at 03:39 PM.
 
Old 04-10-2007, 03:39 AM   #7
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
Quote:
Originally Posted by veri745
In the 'Additional Options' below the posting editor there is a radio button labeled 'Disable smilies in text'

*edit* You have to be in the Advanced posting editor, the 'Quick Reply' section doesn't have that option
Ah yes. Many thanks. Amazing what one see's when one's eyes are opened.
 
Old 04-10-2007, 05:48 AM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Fedora also has a 32bit Firefox, but maybe you rather have the 64, apparently there is a way of setting up flash in the 64 now also (Fedora), somebody dropped a link in another thread a week or two ago that I had a post in. Actually, here's the link:

http://www.my-guides.net/en/content/view/26/26/

For the 32 Firefox, most how-to's do not mention how you need to also install libstdc++3.4 libraries because Sun java is compiled with gcc-3, so if you want the latest java, you could use the 32bit Firefox and follow this guide:

http://www.mjmwired.net/resources/mjm-fedora-fc6.html

I figured this thread was a good place to drop this tidbit of info because of the title and allot of people have problems installing the latest java from Sun.
 
  


Reply

Tags
fc6, firefox, java, x8664


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
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
Java 2 Runtime Environment phantom_cyph Linux - General 33 03-03-2007 03:42 PM
Installing JAva runtime environment jcai Linux - General 3 09-28-2004 03:48 PM
installing java runtime environment Jack Ditchburn Linux - Software 4 04-13-2003 01:10 PM
Java Runtime Environment J_Szucs Linux - Newbie 6 02-18-2002 06:25 PM


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

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