Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to get the Eclipse IDE to work correctly in user mode. After installing the package, I have only been able to successfully get the program to work as root. In user mode, the program quickly exits out and puts this into the .log file:
Turns out that it is still erroring out when installed as user.
I think you missed my point. You need to do a ls -l on the directory to see who owns the files and who has permission to run them.
Also, perhaps you were able to run it because you had the newest JVM?
Believe me, thats not it. I've been using Eclipse on both Linux and Windows with many different Java versions. However, do you know if Java works at all on your machine? Outside of Eclipse, can you compile a simple "Hello World" and have it run? I know you say that you use IBM Java, but there have been issues in the past with Java compiled with compilers that are incompatible with many Linux distros. That is one of the main reasons for the popularity of Blackdown Java.
That would certainly be high on my list of things to check. Before installing a new JDK, I'd be tempted to write a "Hello World" kind of program in a regular text editor and see if you can compile and run from the command line. If you can, that suggests the problem lies with Eclipse. If you can't, then messing with the JDK would be in order.
The problem is there are 2 version of java. The one from 1.4.2 JDK and the other is from Linux's. ROOT's $PATH and other users' $PATH are not the same.
If you look at root's $PATH, in my case, my $JAVA_HOME come before /usr/bin. If you do a "type java", you find that for root, it is the $JAVA_HOME/bin/java. For other use, it is qualifying from /usr/bin.
What I did is, I went to /usr/bin:
ln -sf $JAVA_HOME/bin/java .
ln -sf $JAVA_HOME/bin/javac .