LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-04-2004, 05:19 PM   #1
prospero14
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian testing
Posts: 7

Rep: Reputation: 0
can't get java 1.4.2 to work with firefox 0.9.3


I'm trying to get java to work with firefox. I have j2re1.4.2 installed, and I have a symlink to the java plugin in firefox/plugins:

libjavaplugin_oji.so -> /usr/java/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*

When I try to load a page with a java applet, I get:

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

Is my java installation corrupt?
 
Old 09-04-2004, 06:00 PM   #2
mkaman
Member
 
Registered: Oct 2003
Location: spain
Distribution: fc2, fc3
Posts: 54

Rep: Reputation: 16
Re: can't get java 1.4.2 to work with firefox 0.9.3

Quote:
Originally posted by prospero14
I'm trying to get java to work with firefox. I have j2re1.4.2 installed, and I have a symlink to the java plugin in firefox/plugins:

libjavaplugin_oji.so -> /usr/java/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*

When I try to load a page with a java applet, I get:

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

Is my java installation corrupt?
I don't think so. Have you tried to open any other applet?
That error message is typical when you forget to specify the main class in a java program:
Quote:
java/lang/NoClassDefFoundError: java/lang/Object
I'm currently using firefox 0.9.3 with j2sdk1.4.2_05 and all works (and the same with old versions of java and firefox).
 
Old 09-04-2004, 11:22 PM   #3
prospero14
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian testing
Posts: 7

Original Poster
Rep: Reputation: 0
Yes, I have tried several java aplets, and firefox crashes with the same error message with each.
 
Old 09-04-2004, 11:57 PM   #4
prospero14
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian testing
Posts: 7

Original Poster
Rep: Reputation: 0
Okay, I got java working -- the problem was with my java installation. I had 2 conflicting versions of java installed. I deleted them and reinstalled jre, and now everything works.
 
Old 09-08-2004, 09:34 PM   #5
crane
Member
 
Registered: Sep 2003
Location: Alabama
Distribution: Blag, Fedora core 1 and 2, Clarck Connect
Posts: 70

Rep: Reputation: 15
Quote:
Originally posted by prospero14
Okay, I got java working -- the problem was with my java installation. I had 2 conflicting versions of java installed. I deleted them and reinstalled jre, and now everything works.
I have the same problem. Did you delete both installs or just one?

Do I need to uninstall or just delete?
 
Old 09-08-2004, 10:36 PM   #6
prospero14
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian testing
Posts: 7

Original Poster
Rep: Reputation: 0
I believe that I deleted both existing installations of java, and made a clean install.
 
  


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
firefox and java doesn't work houler Linux - Software 1 04-20-2005 03:09 PM
Cannot get sym link from java to firefox to work Kelean Slackware 3 01-23-2005 05:06 PM
Firefox and Java DaBlade Linux - Software 1 12-23-2004 08:09 PM
Updated Java... now java apps dont work zidane2010 Linux - Software 6 05-04-2004 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:37 AM.

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
Open Source Consulting | Domain Registration