LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2003, 06:58 PM   #1
candyman123
Member
 
Registered: Jul 2003
Posts: 46

Rep: Reputation: 15
Summary of My Java Plugin Experience


I've had a number of issues getting java to work (at least in RH9).

First I installed mozilla 1.4 into /usr/local/mozilla

There are many ways to set it up...you could try the default plugin that Mozilla tries to get for you. That page is here:
http://wp.netscape.com/plugins/jvm.html

The nice thing about this version is that it will install automatically for you (as long as you go to the page as root). And it is obviously the netscape java plugin. The problem with this one is that it doesn't work. When you run mozilla ( version 1.4 ) from the command prompt you receive the following error message:

LoadPlugin: failed to initialize shared library /usr/local/mozilla/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so [/usr/local/mozilla/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so: undefined symbol: __vt_17nsGetServiceByCID]

And any attempt to go to a java page will fail...in other words the plugin doesn't work.

The other way is to get blackdown linux. That file can be located here:

ftp://metalab.unc.edu/pub/linux/deve...-1.4.1/i386/01

I grabbed the SDK and placed the BIN file into /usr/local. I made the files execuatable with chmod +x. And then I ran it. It put all the files in /usr/local/j2sdk1.4.1/

If you want to compile java files and such...you need to do some other things to set your path variable (which I did), but let me skip to the plugin part.

Then what you are supposed to do is symbolically link the plugin to your mozilla plugin directory. Do this with the following command:

ln -s /usr/local/j2sdk1.4.1/jre/plugin/i386/netscape7/javaplugin_oji.so /usr/local/mozilla/plugins/

Now, if you run Mozilla and try a java web page, you will see that the plugin works perfectly! How amazing. The problem with this procedure is that this also spits an error message. Let me add it...it will be very long.

------- Begin Error Message -----------

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x42073770 during VM shutdown
Function=__libc_free+0x70
Library=/lib/tls/libc.so.6

Dynamic libraries:
08048000-0804b000 r-xp 00000000 03:01 1393350 /usr/local/j2sdk1.4.1/jre/bin/java_vm
0804b000-0804c000 rw-p 00002000 03:01 1393350 /usr/local/j2sdk1.4.1/jre/bin/java_vm
40000000-40015000 r-xp 00000000 03:01 1474574 /lib/ld-2.3.2.so
40015000-40016000 rw-p 00014000 03:01 1474574 /lib/ld-2.3.2.so

( lots more files are listed )

Local Time = Fri Jul 4 17:46:40 2003
Elapsed Time = 34
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.1-01 mixed mode)
#
# An error report file has been saved as hs_err_pid13289.log.
# Please refer to the file for further information.
#

----- End Error Message ------

So it is good that the plugin works, but it is bad that an error is generated (everytime you go to a java web page) and worse, it outputs the error to a log file too!

I wanted to fix this...I pathetically tried to install the blackdown j2re form the same site. I linked the plugin and ended getting the same error message that the netscape plugin gave me.

I proceded to try other plugins (for Netscape 7) but those didn't work either.

I really am quite frustrated. At least the java plugin is working. Does anyone know how to fix this blackdown error? Has anyone else had a similar experience?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Java Plugin SepitvaOra Linux - Newbie 5 02-13-2005 10:11 PM
java working, java plugin not provkitir *BSD 3 01-12-2005 05:49 PM
mozilla with jre1.4.1 plugin, any experience? alkw Linux - General 5 05-26-2004 03:41 AM
x-java-vm plugin christer Linux - Software 7 11-04-2003 11:13 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration