LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java, Konqueror & Mozilla (https://www.linuxquestions.org/questions/linux-software-2/java-konqueror-and-mozilla-86774/)

Tuvok 08-28-2003 06:58 PM

Java, Konqueror & Mozilla
 
I have in the past managed java to work with Mozilla through unconventional methods. I have never managed java to work with Konqueror. Today, I have managed java to work with both Konqueror & Mozilla through conventional methods.

First, create (as root) a "java" subdirectory in the /usr directory. Download the self-extracting (not RPM) file of j2re-1_4_2 from Sun. Move (as root) the file to /usr/java. Cd (as root) to the /usr/java and issue the following 2 commands:

chmod a+x j2re-1_4_2-linux-i586.bin
./j2re-1_4_2-linux-i586.bin

Read the instructions and choose "yes" to untar it. When done, issue this command:

ln -s /usr/java/j2re1.4.2/bin/java java



Now, to set java to work with Mozilla, issue (as root) this command:

ln -s /usr/java/j2re1.4.2/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /*/libjavaplugin_oji.so
*Your Mozilla plugin directory

To set java to work with Konqueror, make (as user) path to java executable (KDE Control Center->Internet->Web Browser->Java):

/usr/java/java

Good luck :-)

mr_ouija 08-30-2003 01:01 AM

Oh man, you're a godsend. I've been fighting with that one for awhile now. Worked like a charm with MozillaFirebird. :D

Tuvok 08-30-2003 01:08 AM

mr_ouija, glad it worked for you.

:-)

slayerboy 09-26-2003 01:40 PM

stumped.....
 
shouldn't java show up in the plugins directory when I go to Help -- About Plugins? how do I know if it works?



Edited:

NEVERMIND THIS!

I got it to work...I have Mozilla 1.0 and used ns610 instead and it worked awesome!

gpt 10-11-2003 11:16 PM

tuvok: thank you, thank you, thank you!!!!

I had tried following other directions to get java working with mozilla with no luck, tried yours and it works like a charm!!!

flimzzy 10-14-2003 12:02 AM

it never worked for me... sad.... I'm gona have to try it with mozilla, also I donno if this makes a diffrence or not but the file I got from http://www.java.com/en/download/manual.jsp
was named j2re1_4_2_01-linux-i586.bin
I dono if this made a diffrences or not, if so please get back to me... haven' no java applet sucks

Tuvok 10-14-2003 05:11 PM

flimzzy,

You have to be creative; at the time I wrote this post latest java was j2re-1_4_2, the current release is j2re1_4_2_01. So, simply change (just add _01) what needs to be changed.

Good luck.

ford 10-26-2003 12:42 PM

Tuvok,

Thanks for a great post. I upgraded to Mozilla 1.5 and my Java stopped working. I followed your instructions and everything's fine again.

Cheers,

Ford

Doomhammer 12-12-2003 09:30 PM

I did exactly as you said, but i still have an error message when i try to install LimeWireLinux.bin..

Im RH9, The error is :
Launching installer...

Warning: -Xmx100331648 not understood. Ignoring.
Warning: -Xms16777216 not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: com.zerog.lax.LAX
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025d6b6: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025eb36: java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x402ad075: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
at 0x08048910: __gcj_personality_v0 (java.compiler=NONE)
at 0x40696a67: __libc_start_main (/lib/i686/libc.so.6)
at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE)
I think im gonna cry, its been two days im trying to install that application. :(

slr 12-12-2003 10:28 PM

Check this... The solution to your prob is in the second post...

http://www.linuxquestions.org/questi...hreadid=114921

Doomhammer 12-12-2003 11:34 PM

Thank you, ill try that, i was bored of trying, so i decided to install gtk-gnutella. I like it, it connects to limewire, shareaza etc..

slr 12-12-2003 11:39 PM

Try dcgui...imho it's the best...

DrOzz 12-12-2003 11:41 PM

dcgui-qt hands down...there is no argument..

Seraph 12-23-2003 10:34 AM

I follwed those steps exactly and it doesnt work. My symbolic links are not being recognised as symbolic links. .for some reason its calling them Windows media files.. .strange I know, so I tried copying the ns610-gcc32 .so to usr/local/mozilla/plugins and now mozilla just crashes with no error messege when I try to load a site that contains java. I removed the old version I had and installed mozilla 1.5 before trying this and I downloaded the java file that is linked in Tuvok's post. .any ideas??

skeeleraar 12-23-2003 11:57 AM

mmm, i did everything you said, but my mozilla wouldn't start mozilla afterwards...i just deleted the symlinks and made them again...and for some reason it works now...
thanks mate :)
still cant figure out how to get it on konqueror tho...but doesnt realy matter, since i dont use it for internetbrowsing...


All times are GMT -5. The time now is 05:45 PM.