LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-26-2005, 05:25 PM   #1
PaulKuin
LQ Newbie
 
Registered: Jun 2005
Location: Netherlands
Distribution: Slackware (back after RH)
Posts: 2

Rep: Reputation: 0
javaVM in 10.1 slack dist does not work


Hi,

I installed last week slack 10.1 from binary iso distribution. None of the browsers (they're all the same nearly - mozilla, netscape, firefox too) works with java. Here is some info.

====

bash-3.00$ mozilla h-t-t-p-:-/-/-www-java.-com (someone made the stupid rule that urls cant be in here)
>>>>
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process exited with status 1
Could not start JavaVM!

VM did not start up properly
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process exited with status 1VM did not start up properly

Could not start JavaVM!


==== The plugin is registered is seems?

bash-3.00$ cat /home/kuin/.mozilla/pluginreg.dat

Generated File. Do not edit.

[HEADER]
Version:0.08:$

[PLUGINS]
(...deleted stuff ...)
1
0:*:All types:.*:$
/usr/lib/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so:$
:$
1117799554000:1:1:$
Java(TM) Plug-in 1.5.0_04:$
Java(TM) Plug-in 1.5.0_04-b05:$
31
0:application/x-java-vm:Java::$
1:application/x-java-applet:Java::$
2:application/x-java-applet;version=1.1:Java::$
3:application/x-java-applet;version=1.1.1:Java::$
(...deleted more stuff...)

=====
soft link is in place and good: points to:

-rwxr-xr-x 1 root root 135084 2005-06-03 13:52 \ /usr/lib/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so*

====

I tried to link to /usr/lib/jre1.5.0_04/plugin/i386/ns7-gcc29/libjavaplugin_oji.
although I have gcc 3.3.4 (?) so .. did not make a difference.

It looks like javaVM looks for some /lang/ files but there is no such dir in the distrib. of j2re ???

is this a prob with the library version perhaps ? anyone else had this problem?

I already tried upgrading to firefox same prob.
tried upgrade to jre1.5_04 same prob still.

Who has this running on a clean slack 10.1 dist ?
Did it run on slackware 10.0 ?

After Slack 2.8 I have used other distributions. So I would like to know the latest version
under which this still worked ok.

Thanks.

Does anyone know what to make of this ?


====

Last edited by PaulKuin; 06-26-2005 at 05:28 PM.
 
Old 06-26-2005, 06:14 PM   #2
Bluenoser
Member
 
Registered: Jun 2004
Location: Nova Scotia, Canada
Distribution: Ubuntu 8.04 LTS
Posts: 138

Rep: Reputation: 15
Fairly new to Slackware, but I use 10.1 and followed the instructions and had no problem installing java
 
Old 06-26-2005, 06:16 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: javaVM in 10.1 slack dist does not work

Quote:
Originally posted by PaulKuin
Hi,

I installed last week slack 10.1 from binary iso distribution. None of the browsers (they're all the same nearly - mozilla, netscape, firefox too) works with java. Here is some info.

====

bash-3.00$ mozilla h-t-t-p-:-/-/-www-java.-com (someone made the stupid rule that urls cant be in here)
That rule is there for a very good and valid reason, the
fact that you don't know it doesn't make the rule stupid,
but you ill-informed ;)

The reason is to stop spammers from promoting web-sites.


Quote:
Who has this running on a clean slack 10.1 dist ?
Did it run on slackware 10.0 ?

After Slack 2.8 I have used other distributions. So I would like to know the latest version
under which this still worked ok.

Thanks.

Does anyone know what to make of this ?

Works here, on more than one machine, with both firefox and
mozilla... and ever since Slack 8 (which is when I moved from
SuSE to slackware).

Does your java as such work? Got java source to compile,
or class-files to run?

One thing I do notice is that the version of your java
differs from the one on slacks CD ...
./slackware/l/jre-1_5_0_01-i586-1.tgz




Cheers,
Tink
 
Old 06-27-2005, 09:25 AM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
This seems to happen when the machine had Java updated. Look for directories called /mozilla-1.7.6/plugins and firefox-1.0.4/plugins. These SHOULD contain a softlink to the Netscape Java .so plugin. Use locate to find the real location of the plugin and create a new softlink with ln -s
 
Old 06-27-2005, 03:25 PM   #5
PaulKuin
LQ Newbie
 
Registered: Jun 2005
Location: Netherlands
Distribution: Slackware (back after RH)
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks 4 all replies

Thanks Bluenoser, it is good to know it should work. It usually all works out of the box. It must be because of the stuff I had on my home disk. I'll try to make a new account and test that.

Thanks Tinkster, Sorry for my remark. I got really ticked off, since i had the command as part of the question with the URL to show the error messages generated. Then your protection kicked in, and again,
... Is this really keeping the spammers away some ? I guess they do for you. Keep up the good work. I appreciate it.

Davidsrsb, I have done the linking, checked them. It des not seem to be the problem. But from your answers I see that I have to keep hacking the system till it works. I have later version because thats what I installed when the one out of the box did not work. Also checked things like enabling java in the browser, etc.
 
Old 06-27-2005, 05:00 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
OK ... I just upgraded my java to the same version, and it's all sweet.

Next question to ask is which target directories for mozilla you are
using, are you still using the same mozilla that came with slack, or
did you upgrade that as well?


Cheers,
Tink
 
  


Reply



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
JavaVM is screwed disdain Linux - Newbie 1 03-18-2005 03:18 PM
Problems configuring apt-get: It seems to work but I can't dist-upgrade or install chaca1983 Debian 2 10-13-2004 12:14 PM
javavm doesn't work dmitree Linux - Newbie 8 02-15-2004 09:52 AM
Mozilla + JavaVM daphantom Linux - Software 2 09-04-2003 01:45 PM
RPM-dist to Source dist GAVollink Linux - Distributions 4 08-16-2002 10:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:16 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