• Post Reply Bookmark Topic Watch Topic
  • New Topic

JRE Plugin for Red Hat 9.0  RSS feed

 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I downloaded the JRE 1.4.2_02 from http://java.sun.com and when I ran the installer, the JRE was installed in /usr/java/jre1.4.2_02/
Now when I go to:
http://games.yahoo.com/games/downloads/sg.html
A dialog box appears stating:
"This page contains information of a type (application / x-java-vm) that can only be viewed by the appropriate plug-in."
I am running Mozilla 1.2.1 on Red Hat 9.0.
After reviewing this URL:
http://plugindoc.mozdev.org/faqs/java.html#Linux
I tried using a symbolic link as follows:
On my Red Hat 9.0 Linux distro, (logging in as root), my JRE Plug-in is located in:
/usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
My Mozilla 1.2.1's plug-in directory's path is:
/usr/lib/mozilla-1.2.1/plugins
I followed the instructions from the link in the previous post by:
> cd /usr/lib/mozilla-1.2.1/plugins
> ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
Now, I wrote a HelloWorldApplet.java & an HelloWorldApplet.html file and
compiled the applet with the javac compiler.
When I run the appletviewer like this:
> appletviewer HelloWorldApplet.html
The simple HelloWorldApplet works...
But however, if I open the HelloWorldApplet.html file using Mozilla, the same error message from the first post appears...
I also went to Yahoo! Games and I keep getting the same error...
If anyone can help, it would be greatly appreciated....
 
Alton Hernandez
Ranch Hand
Posts: 443
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Try using the one in ns610 directory instead.

cd /usr/lib/mozilla-1.2.1/plugins
ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610/libjavaplugin_oji.so
 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I tried to do that, it stated:
ln: `./libjavaplugin_oji.so': File exists
(this is the ns610-gcc32 foler, of course)...
How do I remove the original symoblic link (from the previous post)? I want to remove it and then try adding the one that isn't in ns610-gcc32 folder, I just want to add the ns610 one...
Is there away to do this with "ln"? How would I unbound the original symbolic link? When I tried using "rm" at the command line, it stated how the link wasn't a directory... When I tried to use "del libjavaplugin_oji.so", it still didn't work...
Any help, tips, etc. are greatly appreciated...
 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This issue is resolved... I tried "rm libjavaplugin_oji" and it worked...
Please close this issue if possible.
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!