LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Problems installing Java Runtime Environment (https://www.linuxquestions.org/questions/fedora-35/problems-installing-java-runtime-environment-544218/)

veri745 04-08-2007 04:13 AM

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?

Glennzo 04-08-2007 09:52 AM

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?

veri745 04-08-2007 02:00 PM

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

Glennzo 04-08-2007 02:34 PM

You could be right. It may be a 64 bit issue. Have you had a look over at the Fedora Forum? www.fedoraforum.org

veri745 04-08-2007 03:34 PM

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

veri745 04-08-2007 03:37 PM

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

Glennzo 04-10-2007 03:39 AM

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.

Junior Hacker 04-10-2007 05:48 AM

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.


All times are GMT -5. The time now is 03:35 PM.