You are not logged in.

#1 2007-01-31 04:39:30

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

firefox not detecting jre

ok this is my first post on the arch linux forums and im having a wierd issue with firefox and jre.

I ran

pacman  -S firefox jre

and both were installed, i was able to run azureus so i know the java is working for the system.

i try to browse over to a java embeded website and i get the prompt to install java... soooo... i curise on over to the /opt/java directory and notice i dont see a plugins folder that i can ln -s to firefox's plugins folder... i really dont know where else to look.... ive ran updatedb and then tried to locate more directories having to deal with jre but nothing of anyhelp that i can see.... I do know that i can fix this by downloading the pac straight from sun but i was wondering why pacman didnt succed with this part of my installation. BTW i did try to search the forums and didnt find anything in refrence with my problem.

Offline

#2 2007-01-31 05:04:10

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: firefox not detecting jre

You probably need to update your PATH and environnement variables. To do so, run 'bash /etc/profile' in a shell or logout/relogin to make the change system-wide.

Offline

#3 2007-01-31 05:09:48

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: firefox not detecting jre

Are you using Arch Linux for i686 or for x86_64? Because as far as I know on Arch64 there's no Java plugin.


In love I believe and in Linux I trust

Offline

#4 2007-01-31 05:09:50

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

Re: firefox not detecting jre

yeah, ive logged in and out multiple times already and ive just tried running bash and still no java en firefox

Offline

#5 2007-01-31 06:23:44

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

Re: firefox not detecting jre

im running arch x86_64 ... thats wierd... lemme look at some more stuff

Offline

#6 2007-01-31 06:27:18

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

Re: firefox not detecting jre

well i see on the sun site that there is support for amd64, and i figured that x86_64 should be able to run 32bit version anyway..

Offline

#7 2007-01-31 11:08:36

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: firefox not detecting jre

you most likely need to turn it on

Edit > Preferences > |Content| > ~Enable Java


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#8 2007-02-01 08:23:23

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

Re: firefox not detecting jre

... not that much of a newbie, ive already double checked and triple checked that.

Offline

#9 2007-02-01 19:24:31

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: firefox not detecting jre

Amphaeon wrote:

well i see on the sun site that there is support for amd64, and i figured that x86_64 should be able to run 32bit version anyway..

Arch64 can't run 32 bits binaries. The x86_64  community repo has 32 bits libraries package for Arch64.  I believe you'll need to install them or run run firefox in a chroot.  Look in the Arch64 forum, for more info about it.

I'll move this thread in the Arch64 forum.

Offline

#10 2007-02-02 12:08:46

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

Re: firefox not detecting jre

just wanting to let people know that i still dont know y this isnt working...

Offline

#11 2007-02-02 12:17:49

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: firefox not detecting jre

Maybe you're not understanding. There is no Java plug-in for 64 bit. From the end of this page http://java.sun.com/javase/6/webnotes/i … tions.html :

Java Plug-in, Java Web Start, and Java Control Panel are not supported on 64-bit systems.

If you want Java in Firefox on 64 bit, you're going to have to install a bunch of 32 bit libraries. If you're running KDE, you can use 64 bit Java in Konqueror without 32 bit libraries.

Last edited by skottish (2007-02-02 15:20:03)

Offline

#12 2007-02-02 12:18:30

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: firefox not detecting jre

As far as I know the 64bit version of jre doesn't ship with a browser plugin. Check if there's a plugin installed in /opt/mozilla/lib/plugins.

Offline

#13 2007-02-02 12:27:31

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

Re: firefox not detecting jre

i give up.... i keep getting mixed answers... let me just forget the 64bit until theres better support... im gonna reinstall the i686 version later on.

Last edited by Amphaeon (2007-02-02 12:27:57)

Offline

#14 2007-02-04 13:25:39

Neverth
Member
From: Finland - Land of taxes
Registered: 2006-05-16
Posts: 45
Website

Re: firefox not detecting jre

blackdown-jre has plugin for x86_64 and it works.
Its in AUR btw.


Flying is Trying is Dying

Offline

#15 2007-02-05 01:32:53

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

Re: firefox not detecting jre

ty i will jot that down when i move back over to 64bit arch

Offline

#16 2007-08-02 13:29:45

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

Re: firefox not detecting jre

ok, i have finally moved back to x86_64 and im trying to get mym java working again.... ive got the Blackdown from the aur and it installed... but my firefox kept crashing and i have a whole bunch of error logs in my home directory from this plugin... im wondering if this has anything to do with the fact that they are using the AMD64 source. If anyone could help i would appreciate it.

Offline

#17 2007-08-02 19:18:24

arunvragh
Member
Registered: 2007-04-17
Posts: 111

Re: firefox not detecting jre

Install blackdown-jre and manually link libjavaplugin_oji.so to your firefox plugins directory and it should be ok. make sure all other system java links point to Sun Java 1.6. blah blah, so that other apps like limewire etc work properly. This issue is because Sun does not seem to consider us pure 64 bit guys deserve a jre plugin.

Offline

#18 2007-08-05 10:13:13

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: firefox not detecting jre

There were a few issues I had with arch64. running opera, java and flash and wine. If you have some spare disk space you could follow this wiki at ...

http://wiki.archlinux.org/index.php/Arc … bit_system

It's very well written and worked great for me, running 32 bit apps on arch64. It solved all my problems and eveything I need works. I'm sure the 64bit java and other issues will eventually sort it self out, and then it will be easy enough to delete the arch 32 bit chroot system.


-- archlinux 是一个极好的 linux

Offline

#19 2007-08-05 11:18:37

johannesheld
Member
From: Europe/Nuremberg
Registered: 2007-08-04
Posts: 21
Website

Re: firefox not detecting jre

I did the arch32-chroot. Cause it's a nice and elegant solution.
But I don't have a java-plugin in there.

See this post: http://bbs.archlinux.org/viewtopic.php?id=35902

And solved. I used firefox-64 and firefox-32 in chroot AT THE SAME TIME.
This cause an hassle with ~/.mozilla/firefox/pluginreg.dat

Using only firefox-32 solves my problem.

Last edited by johannesheld (2007-08-06 14:42:51)


Johannes

Offline

#20 2007-08-06 17:44:38

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: firefox not detecting jre

I wrote some 32-bit library packages here that you can use to run a 32-bit browser and 32-bit Java plugin on a 64-bit kernel.  I set this up because I need 'Java WebStart' for my work, and setting it up this way allows me to use it seamlessly.

Good luck!

Offline

#21 2007-08-07 05:38:07

Amphaeon
Member
Registered: 2007-01-31
Posts: 72

Re: firefox not detecting jre

arunvragh wrote:

Install blackdown-jre and manually link libjavaplugin_oji.so to your firefox plugins directory and it should be ok.

ok ive done this, everything the same as i have been except i made a symbolic link to /home/user/.mozilla/plugins for /opt/java/.....plugin.so . Im having an issue where firefox just crashes whenever i put my mouse over the java applet randomly but very often and eventually happens. jre test page even works but it crashes when my mouse goes over the applet.

Offline

#22 2007-08-07 09:14:27

johannesheld
Member
From: Europe/Nuremberg
Registered: 2007-08-04
Posts: 21
Website

Re: firefox not detecting jre

Perhaps you want to try an arch32 chroot to?
http://wiki.archlinux.org/index.php/Arc … bit_system


Johannes

Offline

#23 2007-08-08 09:44:59

arunvragh
Member
Registered: 2007-04-17
Posts: 111

Re: firefox not detecting jre

Amphaeon

What Johannesheld has stated is good, unless, like me, you do not want to have lib32 in your 64 bit system.

The reason it is crashing is because your system java must be jre-U1 or whatever.

My earlier post
"I messed around for quite some time and sorted it out by installing blackdown-jre from AUR. Pkgbuild needs to be changed to include x86_64. I then downloaded the 64 bit jre pkg from Sun and unpacked it to /opt/java. I renamed jre folder (with blackdown) to blackdown-jre, and renamed the sun java folder jre -1.6.0 blah blah to jre. I then exported JAVA_HOME to point to the renamed jre folder. Modified /etc/profile to use java = jre. Modified all java symlinks in /usr/share and /usr/local/bin to point to Sun jre. Did source /etc/profile as root.

I placed a symlink to javapugin (blackdown-jre) in /opt/mozilla/firefox-2.0.0.4/plugins .

Now firefox uses blackdown but all other programs like limewire openoffice etc uses Sun Java.

Did I take a long way going about this? I am only a few months into Archlinux."

I also use gnash i/o flash. Not perfect but suits me

Offline

Board footer

Powered by FluxBB