Click to See Complete Forum and Search --> : Java VM plugin for Mozilla
paul.shelb
07-22-2003, 09:24 AM
OK - be gentle with me :D
I have downloaded the JRE for my RedHat 8.0 box and set up a link from /usr/java/j2re1.4.1_03/plugin/i386/ns610/libjavaplugin_oji.so to /usr/lib/mozilla-1.0.2/plugins/libjavaplugin_oji.so
However, not only does the plugin still not work (I'm still told I need the application/x-java-vm plugin on those sites) but about:help doesn't even show the plugin is installed.
The permissions on the link and the file are all OK.
ANY ideas would be appreciated!
mdwatts
07-22-2003, 09:26 AM
That seems to be a popular question posted here at JL.
Try these forum search results for 'mozilla java plugin' (http://justlinux.com/forum/search.php?s=&action=showresults&searchid=683520&sortby=lastpost&sortorder=descending) as you will likely find the solution in one of them.
ph34r
07-22-2003, 09:39 AM
Personally, I install the full SDK, even though you don't need all of it. That being said, one of the big problems people have is that the plugins have to be compiled with the same compiler version as mozilla...
So... do
gcc -v
And it will tell you what version of gcc was used on your system. All you can do is assume Mozilla was compiled with the same. Once you've done that, go to blackdown.org and download the proper version of the SDK or plugin.
mdwatts
07-22-2003, 09:48 AM
That is good to know... Thanks.
< searching keywords >
enable mozilla java plugin sdk gcc compiler version
JamminJoeyB
07-22-2003, 10:14 AM
If all you want is the plugin to work with mozilla and don't need the full java install. You could try what I have suggested to other people on JLC.
Open a terminal.
su
<your root password>
mozilla (this starts mozilla)
navigate to the netscape plugin site
select java
it will install over the net
exit mozilla.
run mozilla as a normal user.
check plugins.
I have used this simple process a couple of times and it has worked. The end result is what I wanted. A java enabled browser.
plattypus1
07-22-2003, 05:52 PM
I've had success with the above method. Also, did you check the libjavaplugin.so symlinks in your /usr/lib/mozilla/plugins or ~/.mozilla/plugins directories? They should be symlinked to the plugin in /usr/java/j2re-whatever/plugin/libjavaplugin.so
A_KeeleLeveller
08-22-2003, 10:17 AM
f all you want is the plugin to work with mozilla and don't need the full java install. You could try what I have suggested to other people on JLC.
Open a terminal.
su
<your root password>
mozilla (this starts mozilla)
(I have to type the pull path, "mozilla" brings up "unknown command")
navigate to the netscape plugin site
select java
it will install over the net
(Well it downloads a .bin file which I install according to the instuctions, having opened a second shell)
Also I then can only find the installation instructions of the latest version and download that, and THEN follow the insturctions as found at http://java.sun.com/j2se/1.4.2/install-linux.html.
exit mozilla.
run mozilla as a normal user.
check plugins.
(nope, still no java)
The one thing that bugs me about Linux is that 90% of all installations are involving typing in loads of commands. Why not have a more automatic process, like is the case with most Windows stuff? But having only used it for a week, I am on a learning curve i suppose...
JamminJoeyB
08-22-2003, 10:37 AM
Maybe something has changed. I'll have to look into that when I get time.
Did you try any of the other suggestions in the forums here at JLC?
A_KeeleLeveller
08-22-2003, 01:17 PM
Ok, I tried checking the symbloic links following a message further back in this thread. I initially the libjavaplugin_oji.so file to /usr/lib/mozilla/plugins. But then I tried linking it in the /home/****/.mozilla/plugins/ and/or the /usr/local/mozilla/plugins directories.
Having tried this, I double clicked on Mozilla to find that instead of having a Mozilla with no Java support I had NO MOZILLA AT ALL. :eek: It appeared in the taskbar for a few seconds, then dissappeared. I was able to sort this out by removing the symbolic links, and I now I have Mozilla back again, albeit still Java-less.
I must take my hat off to Linux though, any lesser operating system would have sent before me the blue screen of death ;)