You are not logged in.

#1 2006-03-02 04:02:47

Verlager
Member
From: Rochester NY USA
Registered: 2004-03-21
Posts: 12

Firefox 1.5 not seeing java

I need to get java working with Firefox 1.5 because I have to browse to site: http://www.hikinghq.net which uses java for navigation. I have read, I think, all pleas for help on this topic here and I still don't see a solution. I have java on my rig here and it works just fine with jinchess, but not with the web browsers.

Does anyone have a simple, understandable, correct method to get java (and Flash) working individually with both Firefox 1.5 and Konqueror?

Let's fix this problem. We can do it !


Biostar U8668-D mobo, Celeron 2600 mHz, 1024 mB ram, Dildatron CD-RW

Offline

#2 2006-03-02 04:26:42

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Firefox 1.5 not seeing java

worked fine for me when I pacmaned in the jre....

Offline

#3 2006-03-02 04:40:15

oseb
Member
From: Busan, Korea
Registered: 2005-05-26
Posts: 31

Re: Firefox 1.5 not seeing java

Firefox menu -> Edit -> Preferences -> Content tab
check "Enable Java"

Offline

#4 2006-03-02 15:04:05

Verlager
Member
From: Rochester NY USA
Registered: 2004-03-21
Posts: 12

Re: Firefox 1.5 not seeing java

Dusty wrote:

worked fine for me when I pacmaned in the jre....

pacman -S j2re

I did this and Firefox still doesn't see or use java.


Biostar U8668-D mobo, Celeron 2600 mHz, 1024 mB ram, Dildatron CD-RW

Offline

#5 2006-03-02 15:05:33

Verlager
Member
From: Rochester NY USA
Registered: 2004-03-21
Posts: 12

Re: Firefox 1.5 not seeing java

oseb wrote:

Firefox menu -> Edit -> Preferences -> Content tab
check "Enable Java"

I did this and Firefox still doesn't see or use java.


Biostar U8668-D mobo, Celeron 2600 mHz, 1024 mB ram, Dildatron CD-RW

Offline

#6 2006-03-02 19:27:35

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Firefox 1.5 not seeing java

I had the same problem and did this :
close X
from console

pacman -Rncs j2re

reboot
from console

pacman -Sy j2re

reboot

firefox then saw java again.

I am not sure if both reboots are necessary, but i think the second one IS.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2006-03-02 19:32:17

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Firefox 1.5 not seeing java

Lone_Wolf wrote:

I am not sure if both reboots are necessary, but i think the second one IS.

Logging out and back in should be enough to update the PATH

Offline

#8 2006-03-02 20:08:51

Verlager
Member
From: Rochester NY USA
Registered: 2004-03-21
Posts: 12

Re: Firefox 1.5 not seeing java

Lone_Wolf wrote:

I had the same problem and did this :
close X
from console

pacman -Rncs j2re

reboot
from console

pacman -Sy j2re

reboot

firefox then saw java again.

I am not sure if both reboots are necessary, but i think the second one IS.

Didn't work for me. java is installed:

[rmack@underground ~]$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
[rmack@underground ~]$

But it's not running within Firefox 1.5; http://www.hikinghq.net is not parsing the java code and firefox is prompting me to manually install java from java.com. Here's the problem with that. I have (on another comp, a Xandros 3.0.2 install), for experimentation and expericence, followed the complete instructions from java.com, including tar, link, etc.

I wanted to use pacman with java and avoid using :

find / -name 'Firefox' 
find / -name 'java' 

Because I thought, if I ask here at Archlinux forums, somebody will know exactly where Firefox and java are typically installed in Arch and share the succinctly precise symbolic link solution with me and maybe even document it for others. (I hope I wasn't asking for too much.)


Biostar U8668-D mobo, Celeron 2600 mHz, 1024 mB ram, Dildatron CD-RW

Offline

#9 2006-03-02 20:24:44

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Firefox 1.5 not seeing java

Just a note, you can find out exactly where packages are installed to by doing:

pacman -Ql packagename

eg.

$ pacman -Ql j2re | grep mozilla
j2re /opt/mozilla/
j2re /opt/mozilla/lib/
j2re /opt/mozilla/lib/plugins/
j2re /opt/mozilla/lib/plugins/libjavaplugin_oji.so

So, make sure that /opt/mozilla/lib/plugins/libjavaplugin.oji.so is there -- that's where Firefox should expect its plugins.

Offline

#10 2006-03-02 22:44:50

Verlager
Member
From: Rochester NY USA
Registered: 2004-03-21
Posts: 12

Re: Firefox 1.5 not seeing java

Cerebral wrote:

Just a note, you can find out exactly where packages are installed to by doing:

pacman -Ql packagename

eg.

$ pacman -Ql j2re | grep mozilla
j2re /opt/mozilla/
j2re /opt/mozilla/lib/
j2re /opt/mozilla/lib/plugins/
j2re /opt/mozilla/lib/plugins/libjavaplugin_oji.so

So, make sure that /opt/mozilla/lib/plugins/libjavaplugin.oji.so is there -- that's where Firefox should expect its plugins.

Not sure I follow the pipe 'grep mozilla', but here's where I am.

su
#go to the mozilla plugins directory
cd /opt/mozilla/lib/plugins/

# List the files:
[root@underground plugins]# ls -al
total 2054
drwxr-xr-x  2 root root     160 2006-03-01 09:19 .
drwxr-xr-x  6 root root     192 2006-02-11 14:58 ..
-rwxr-xr-x  1 root root     856 2006-02-11 15:09 flashplayer.xpt
-rwxr-xr-x  1 root root 2096844 2006-02-11 15:09 libflashplayer.so
lrwxrwxrwx  1 root root      50 2006-03-01 09:19 libjavaplugin_oji.so
[root@underground plugins]#

#notice that libjavaplugin_oji.so is a link to -> /opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so
# which is (guessing here..) incorrect.

# So we find java
[root@underground plugins]# find / -name 'java'
/opt/java
/opt/java/jre/bin/java
/opt/mozilla/include/firefox-1.5.0.1/java
/opt/openoffice/share/Scripts/java
[root@underground plugins]#   

# and we discover the file we must link to at:
[root@underground plugins]# ls -al /opt/java/jre/plugin/i386/ns7
total 132
drwxr-xr-x  2 root root     88 2006-03-01 06:51 .
drwxr-xr-x  4 root root    104 2006-03-01 06:51 ..
-rwxr-xr-x  1 root root 135084 2005-11-10 13:44 libjavaplugin_oji.so
[root@underground plugins]#

#and here is where it bombs!

cd /opt/mozilla/lib/plugins/
[root@underground plugins]# rm libjavaplugin_oji.so
[root@underground plugins]# ln -s /opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so .

Still doesn't work. Any clue as to why?


Biostar U8668-D mobo, Celeron 2600 mHz, 1024 mB ram, Dildatron CD-RW

Offline

#11 2006-03-04 14:37:59

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Firefox 1.5 not seeing java

On my system it shows the exact same link, and the libjavaplugin_oji.so is also where the link points.

HikingHqworks fine in my system, have you tried reinstalling firefox ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#12 2006-03-05 02:32:43

Verlager
Member
From: Rochester NY USA
Registered: 2004-03-21
Posts: 12

Re: Firefox 1.5 not seeing java

Lone_Wolf wrote:

On my system it shows the exact same link, and the libjavaplugin_oji.so is also where the link points.

HikingHqworks fine in my system, have you tried reinstalling firefox ?

I have done my best and come up short, time to reinstall Firefox. How do I do this?


Biostar U8668-D mobo, Celeron 2600 mHz, 1024 mB ram, Dildatron CD-RW

Offline

#13 2006-03-05 03:17:26

paul2lv
Member
From: Vegas
Registered: 2005-11-09
Posts: 116

Re: Firefox 1.5 not seeing java

pacman -Rd mozilla-firefox
pacman -Sy mozilla-firefox

Offline

#14 2006-03-05 23:31:36

Verlager
Member
From: Rochester NY USA
Registered: 2004-03-21
Posts: 12

Re: Firefox 1.5 not seeing java

paul2lv wrote:
pacman -Rd mozilla-firefox
pacman -Sy mozilla-firefox

Yes, that removed and reinstalled Firefox, but I still have no java.


Biostar U8668-D mobo, Celeron 2600 mHz, 1024 mB ram, Dildatron CD-RW

Offline

#15 2006-03-09 09:39:42

syntax
Member
From: Saint-Truiden
Registered: 2006-03-04
Posts: 19
Website

Re: Firefox 1.5 not seeing java

sounds like some pesky little problem

have you tried to install any jre package out of packman?

is the firefox browser still in the pad where packman installed it?
or did you get firefox just plain from its website?


-kupo-

Offline

#16 2006-03-09 11:58:21

Jefg60
Member
From: UK
Registered: 2006-01-07
Posts: 100

Re: Firefox 1.5 not seeing java

My suggestion is try running firefox as a different user. if that works, delete your ~/.mozilla folder and try again.

Offline

Board footer

Powered by FluxBB