Click to See Complete Forum and Search --> : Java and Mozilla
Rakeswell
03-19-2001, 10:50 PM
I' trying to get this browser to be able to use java applets, but I don't know what I'm screwing up here.
I go to the netscape plugin page, and select the java2 VM for linux, a new panel opens and clocks for several minutes, then open a new browser window telling me the download was unsuccesful, giving the ftp address for the Windows JVM. So I tracked down the ftp address for the linux JVM and downloaded the contents -- the ENTIRE Java SDK!
At that point I was about ready to blow a fuse.
You see, I already have the Java2 SDK installed on my system.
Is there some way I can just point the browser the JVM I already have? Would someone be kind enough to tell me how to set up a symlink for this purpose?
Or is there a real place to get the oji jvm plugin?
As you might guess, I'm new to linux and have been enjoying it very much. But the browser situation is rather horrid.
Thanks all!
r@nd0m @cce$
03-20-2001, 12:00 AM
Here's what you do.
Download the Java Plugin from java.sun.com The name of the file is you're looking for is jre1.3.0_01
Install the decompressed file into /usr/local and create a link to the plugin in the mozilla plugin directory.
If you've downloaded the latest JDK, look within it for the plugin and then create a link to the plugin in your mozilla plugin directory.
Hope this helps.
vhg119
03-20-2001, 12:47 AM
you need a plugin called jre.xpi for mozilla. http://www.home.netscape.com/plugins/jvm.html
Rakeswell
03-20-2001, 12:59 AM
Thanks guys!
Rakeswell
03-20-2001, 02:11 AM
Okay, nothing is working.
I've already downloaded that jre.xpi file. but haven't a clue what you do with that sort of a file.
Also, I made a symbolic link in the /mozilla/plugins directory to:
/usr/java/jdk1.3.0_02/jre/plugin/i386/ns600/libjavaplugin_oji.so
which is the path to the plugin file that's supposed to enable java support. I've restarted the browser, even logged out and in again, but it still doesn't work.
Shouldn't that symbolic link work?
I haven't the faintest clue what I am doing wrong.
vhg119
03-20-2001, 01:25 PM
download the .xpi file to your home directory.
then in the address bar of mozilla, type in "path/to/home/jre.xpi" replacing 'path/to/home/' with the path to your home directory of course. MAKE SURE YOU'RE LOGGED IN AS ROOT. and mozilla should do the rest.
Rakeswell
03-20-2001, 02:09 PM
Thanks very much, vhg119. I really appreciate your patience. I must be blind or something, because I didn't see any documentation explaining to do *that*.
Anyway, thanks again everyone!
vhg119
03-20-2001, 02:20 PM
did it work?
Rakeswell
03-20-2001, 07:39 PM
Sadly, that did not work. entering the path to the jre/xpi file borought up a "download" interface, I confirm the download, then it goes through it's process, showing what's being installed, then it sends a message saying that it is finishing the installation, the window closes, but the browser is still clocking.
The browser just clocked interminably. After letting it sit for an hour -- I just left to let it do its thing, I logged out, back in, then opened the browser -- it still cannot read applets. Do you know where there is complete documentation for getting java to work w/Mozilla?
Does anyone actually have jre support for mozilla installed?
This has been easily the most frustration I've had in quite a while...
[ 20 March 2001: Message edited by: Rakeswell ]
[ 20 March 2001: Message edited by: Rakeswell ]
vhg119
03-20-2001, 08:16 PM
re-download it and try it again. that happened to me once too. Make sure you're logged in as root.
r@nd0m @cce$
03-20-2001, 08:32 PM
This may sound stupid, but have you made sure java is enabled in your browser?
If I remember properly; Java support is not enabled by default in Mozilla, so you'll have to enable it from edit/preferences on your mozilla menu.