LinuxQuestions.org
Register a domain and help support LQ
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 04-12-2004, 11:35 AM   #1
zoomzoom
Member
 
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!

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

Rep: Reputation: 30
I use Blackdown Java with great success ftp://metalab.unc.edu/pub/linux/deve....4.2/i386/rc1/
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, 01:30 PM   #3
Brain Drop
Member
 
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, 03:21 PM   #4
zoomzoom
Member
 
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 03:23 PM.
 
Old 04-12-2004, 03:57 PM   #5
zoomzoom
Member
 
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.

bye

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


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


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