LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   java on firefox (https://www.linuxquestions.org/questions/fedora-35/java-on-firefox-254398/)

pandasonic 11-13-2004 01:17 PM

java on firefox
 
hello

i was trying to install the java and macromedia flash directly with Firefox but it said "Failed" so i did it manually.. it worked.

However, when i installed jre1.5 and made the symbolic link to the Firefox plugins Firefox would not open... everytime i tried to run it, it would just not run... no error messages or anything.... then installed j2re1.4.2_05 and that one worked... does anyone know what happened or if i am perfectly fine with the version i have or anything?...

Thanks,
Bryant

david_ross 11-13-2004 01:43 PM

The version you have should be fine but it seems odd that it didn't load. I use firefox 1.0 and jre1.5 without a problem. Do you get any errors if you run firefox from a bash prompt?

Ed-MtnBiker 11-13-2004 01:53 PM

Code:

[root@localhost rpms]# ln -s \
/usr/java/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so  \
/usr/lib/firefox-1.0/plugins

If you link the ns610 version of the plugin, firefox will start loading and then fail and quit out. You need to link the ns610-gcc32 version to get firefox to run.

david_ross 11-13-2004 01:59 PM

It's just the 1.4 version that has that and it's working ok for him - 1.5 just has:
drwxr-xr-x 2 root root 88 Oct 2 15:40 ns7/
drwxr-xr-x 2 root root 88 Oct 2 15:40 ns7-gcc29/

Ed-MtnBiker 11-13-2004 02:14 PM

I picked up my copy from www.Java.com, and it looks like the latest version from there. Where'd you get the 1.5 version from? java.sun.com? somewhere else? I've always wondered why java.com and sun.java.com would have different versions.....

nekogami 11-13-2004 08:00 PM

I got mine from sun.java.com, followed instructions, did not use the gcc3.2 choice.
It works fine.

dmj 11-14-2004 02:32 AM

java for firefox on CORE 3
 
I have what looks like the same problem:
- with JRE 5.0 installed and a link to either libjavaplugin version, Firefox 1 will not load.
- with J2SE 4.2.x (tried three versions) installed, Firefox loads, but immediately disappears when I load the page using the Java program. It makes no difference which libjavaplugin the link points to.

I am trying to load the page http://www.dslreports.com/stest?loc=97, the dslreports speed test.

I have a clean new installation of Fedora CORE 3 with only the up2date run. The only softwares loaded since the up2date run are the JRE engines.

The machine is an AOpen AX6B motherboard, Intel 933Mhz PIII, 10Gb WD drive, Gainward GeForce 2 GTS videocard, and 512Mb PC100 RAM.

I find the new "placeholder" structure odd because my old quickie test for java was to ask for the version at the command line: "java -version[Enter]", which now just gives me the libgcj-java-placeholder.sh message.

I am new to Fedora, coming off RH7-9, AIX 4.3.3+, HPUX 11, Solaris 7-9, and Irix 6.5.whatever.
Can anyone point me in the right direction?

Is there a procedure to query Firefox to see if it can properly get to its JVM?
...something like pointing the URL at "about:config"...?

TIA

-Dean

david_ross 11-14-2004 10:46 AM

You can see a list of plugins at "about:plugins"

jharris 11-14-2004 11:28 AM

A little OT, however, I've found good performance gains from using Blackdowns JVM, rather than Sun's http://www.blackdown.org/

cheers

Jamie

dmj 11-14-2004 12:17 PM

Thanks! Since I have re-loaded the jre-1_5_0-linux-i586-rpm.bin version, and it wont allow Firefox to start under any circumstance, I'll erase it again, load and try both j2re-1_4_2_06-linux-i586-rpm.bin and the Blackdown, and report results.

dmj 11-14-2004 12:47 PM

I've re-installed the Sun J2re2.4.2_06 and begun reading the Blackdown instructions.

Just to be clear: Do I or Don't I need to add the path to J2reX/bin to my path to make Firebird run?

Also without adding it to the path, when the link in /usr/lib/firefox-1.0/plugins is to /usr/java/j2re1.4.2_06/plugin/i386/ns610-gcc32/libjavaplugin_oji.so, Firefox can start, sees the JVM in about:plugins, but blows up trying to load the page with the java code.

When the link points to /usr/java/j2re1.4.2_06/plugin/i386/ns610/libjavaplugin_oji.so, Firefox will not load at all...

dmj 11-14-2004 12:51 PM

Hmmm... with link to the non-gcc32 llibrary, the command line error is "INTERNAL ERROR on Browser End: No manager for initializing factory?"

dmj 11-14-2004 12:52 PM

... "System error?:: Success"

dmj 11-14-2004 01:01 PM

More blow-up data:
- link to library is for the gcc32.
- trying from command line "firefox www.dslreports.com/stest?loc97"
- browser won't load and delivers the following message:

"Java process: caught exception from sun.plugin.navig.motif.Plugin.start
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/java/j2re1.4.2_06/lib/i386/libawt.so: libXp.so.6: cannot open shared object
file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Unknown Source)
at java.awt.Toolkit.<clinit>(Unknown Source)
at java.awt.Color.<clinit>(Unknown Source)
at sun.plugin.navig.motif.Plugin.start(Unknown Source)
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable"

Does this help pin things down?

pandasonic 11-15-2004 02:13 PM

Hi

I was away from my computer for about a day so i didn't get to try anything new until today... blame it on Halo2

anyhow, i reinstalled FC3 and tried again installing jre1.5.0... same problem with the plugin.... Firefox won't start

then i tried installing version j2re1.4.2_05 (from javaDOTcom) and that plugin worked.... so i figure that should do it.... since i'm not into java i don't really care what version it is as long as it works... but i do would like to know what's the difference between both versions and why Sun has two different versions on two different sites... what's the advantage of either?

thanks,
Bryant


All times are GMT -5. The time now is 11:17 AM.