Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-12-2004, 10:35 AM   #1
Registered: Aug 2003
Posts: 55

Rep: Reputation: 15
Unhappy Problems running java as a user

Hi all,

I just downloaded and installed sun's version of the java2RE: I ran the self-extracting archive (as root, cause they told me to do so) and added the install-path /usr/local/java/j2re... to my path. OK, I thought. So I ran 'java -version' (still root) and it ouputted the version just fine with no errors. BUT when I login as a user, 'java -version' gives me that: "Error occurred during initialization of VM. java/lang/NoClassDefFoundError: java/lang/Object". I guess it is not an perm error (although it looks like one). They seem ok.

would be great if anyone could help!

Old 04-12-2004, 10:45 AM   #2
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 30
I use Blackdown Java with great success
Get the jre bin one and execute it by opening up a terminal window in the folder where you downloaded it and typing ./put the name of the file behind this. Do it in user mode. If it says you don't have permission, type chmod a+x before the filename and then execute it. It will install the plugin for you I believe. Or you can copy it from the java folder to your plugin folder.
Old 04-12-2004, 12:30 PM   #3
Brain Drop
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
When I did mine, I just ignored the install as root part I think... works fine for me but then I don't have multiple users.
Old 04-12-2004, 02:21 PM   #4
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
well, i really want/need multi-user support.
and I don't want blackdown, cause it's another 12MB pack...

Last edited by zoomzoom; 04-12-2004 at 02:23 PM.
Old 04-12-2004, 02:57 PM   #5
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
got it working... some libraries' permissions were wrong... Well, so it was a permission error after all... I only checked the permissions of the exec-binaries...

Thank you for your answers.


Last edited by zoomzoom; 04-12-2004 at 02:59 PM.


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
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM
Problems running CGIs from user directories lsgko Linux - Software 0 10-13-2005 10:56 AM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 06:30 AM
Problems running a Java Swing app under Linux paulmai Linux - General 2 12-04-2004 06:51 PM
Problems on running java programs indro Linux - General 1 07-19-2001 11:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:16 PM.

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