LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   java runtime environment for firefox (https://www.linuxquestions.org/questions/linux-software-2/java-runtime-environment-for-firefox-576793/)

Levethix 08-13-2007 12:43 PM

java runtime environment for firefox
 
when i'm bored i play this game called runescape.

www.runescape.com

it uses a java app within the browser to launch the game.
when i get the game page loaded, firefox tells me i'm missing a plugin. so i click the "install missing plugins" only to find out that there aren't any for me to download, and i have to do it manually.

i eventually end up here:
http://java.com/en/download/linux_ma...st=java.com:80

and try to install the Linux RPM (self-extracting file), following the instructions it provides:
http://java.com/en/download/help/5000010500.xml#rpm

i did all the instructions asked for, and firefox still says im missing the plugin...

i've also followed this guide:
http://www.fedorafaq.org/#java


still nothing.
can anyone tell me how to get this working?

i'm using fedora 7

Levethix 08-13-2007 01:06 PM

a bit of an update.. i found out that i was creating the links with bad names, as the links in the mozilla/plugins file were broken.

i've fixed that issue, and now the game doesn't ask for a plugin.. but when it gets to that spot, it still doesn't load the java app, and firfox tells me that the page is loaded... it's like it's ignoring the game entirely. what am i missing?

using jre1.6.0_02

HowitZer 08-13-2007 02:04 PM

I think if you're running Firefox 64 bit then the java plugin won't work. To fix this you can install Firefox 32 bit. You can find it in the package updater.

Levethix 08-13-2007 05:35 PM

thanks for the advice, but i dunno if that's the issue... when i downloaded fedora 7 i got the i386 version, and not the x86 64

Levethix 08-13-2007 05:48 PM

ok, so when i tried to go to the site again i noticed this file in my home folder:

plugin_stack.trace

i open it with gedit, and it says this:

java.lang.NoClassDefFoundError: Could not initialize class com.sun.deploy.config.Config
at sun.plugin.AppletViewer.initEnvironment(Unknown Source)
at sun.plugin.navig.motif.Plugin.doit(Unknown Source)
at sun.plugin.navig.motif.Plugin.start(Unknown Source)

can anyone tell me what that means? xD

tajamari 08-13-2007 09:29 PM

Download LINUX RPM and follow this site. You may need define the complete path of the browser so that plugins are properly install. Refer to this site http://www.java.com/en/download/help/5000010500.xml#rpm

Levethix 08-14-2007 03:47 PM

again, thanks for the advice, but i've already done all of that (refer to my opening post).

i'm quite certain that i've done so properly.. as i've been through that instruction list at least a dozen times.

i have jre1.6.0_02 installed. (at least as far as http://www.java.com/en/download/help/5000010500.xml#rpm has instructed me to do so)
i have a link from the java library in the mozilla/plugins file.
quite certian i'm not using an x64 system, so there is no need to get 32bit forefox.
and i still have the issue of the game not working.

wtf am i doing wrong?
(post 5 might be of interest)

rickh 08-14-2007 03:51 PM

What is the output of $ java -version

Levethix 08-14-2007 03:52 PM

[Levethix@localhost ~]$ java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)


should be working, right? :\

rickh 08-14-2007 04:52 PM

Yep, should be.

Did you follow the instructions here:
http://www.mozilla.org/support/firefox/faq.html#q2.2

Actually, I can see above that you did, but I think the problem must be somehow related to that link. Do other java applets on the web work?

Levethix 08-15-2007 03:57 PM

sorry for a late response... and no, no other java apps work as far as i am aware.

i'll take a look through that guide again...


so i'm now noticing that there is a java/plugin/i386/ns7
and a
java/plugin/i386/ns7-gcc29

which both contain the library file i had to link to mozilla/plugins.

i think i linked the ns7 one... i'll try the gcc one.

Levethix 08-15-2007 04:16 PM

yea.. bad idea on that one. firefox closed itself after x amount of time with the gcc version... i tried "firefox" in the terminal to see if it would give me any feed back.. it didn't.

so i tried to use konqueror to get to the site, as i've heard that it reads plugins from the mozilla/plugins folder. it did the exact same thing firefox did with the plugin i had in place before all of this; said the page was loaded and all i had was a black screen where the game should have been.

so i switched back to the ns7 version (not ns7-gcc29)

maybe i'm not using the right version of java?

Levethix 08-18-2007 06:25 PM

EPIC VICTORY :D

konqueror has better java support i guess :\

using konqueror i was able to tell the game to use the default java and it works just fine!

if anyone has had a similar problem, post it here, i might be able to help you if you're using fedora.

rickh 08-18-2007 08:30 PM

That reinforces my opinion that the problem is in your links to the Mozilla plugin. Konqueror does not use a plugin for Java. As long as Java is correctly installed, Konqueror works.

Your success with Konqueror proves that your Java installation is fine. The only thing left blocking FF is the link to the plugin.


All times are GMT -5. The time now is 01:08 PM.