Eclipse IDE - can only run as root not as user
:Pengy:
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: SESSION Mar 02, 2004 00:56:16.49 ---------------------------------------------- java.fullversion=J2RE 1.4.1 IBM build cxia321411-20030930 (JIT enabled: jitc) BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -data /home/jb/Program/ !ENTRY reference:file:/usr/local/bin/eclipse/plugins/org.eclipse.core.runtime_3.0.0/ 0 0 Mar 02, 2004 00:56:16.51 !MESSAGE FrameworkEvent.ERROR !STACK 0 org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.runtime.PlatformActivator.start() *blah blah blah blah* *blah blah blah blah* *blah blah blah blah* :confused: I had to point Eclipse over to the IBM JRE since it isn't compatible with Sun's JRE. I was wondering if anybody has played around with this Eclipse IDE and if anybody had gotten it to work in user mode? Thanks in advance, JW |
I'm now working Eclipse 2.1.2 in user mode
which system is mandrake 9.2
and JRE is JDK1.4.2 |
If you installed Eclipse as root, the file permissions may be wrong. I'd take a look in the Eclipse directory and make sure that users are allowed to read and execute the files.
Quote:
|
JDK, JRE, SDK, easy to get mixed up :P
I'm running RH9. At first, I also thought it may be file permissions, but doing a chown and chgrp for all the files in the eclipse directory and subdirectorys still did not accomplish anything. I just did a quick test here to see if it was the fact taht i installed it as root... Turns out that it is still erroring out when installed as user. Also, perhaps you were able to run it because you had the newest JVM? I've been trying to get onto the Sun website, but it seems to be down right now. Any other ideas? I mean, it works if ran as root, even if I am currently signed in as user, but it doesn't work as user. :confused: JW |
Quote:
Quote:
|
No, I got your point. Hence why I did the chown and chgrp commands to begin with... to no avail....
Also, I just tryed an entire re-install of RH9, and from a fresh new install, it is still doing the same exact thing. Perhaps it might be the IBM JDK? JW |
Quote:
|
I had the same problem. What I did to solve it was to issue the following command as root:
chown -R user /home/user/workspace I think the problem was that this directory was not writable and owned by root. |
I am having the same issue on Fedora Core 3 with the sun j2re. Has anyone resolved this?
thanks, -a.n. |
I had the same issue only ROOT can run Eclipse.
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 . |
Eclipse-mars
This thread needs an update :)
If you happen to run Eclipse as root, Eclipse will create a couple of directories as root. Assuming you've put Eclipse in a directory such as /usr/local/eclipse-mars/ these directories will be found at /usr/local/eclipse-mars/configurations drwxr-xr-x 3 root root 4096 May 29 00:03 org.eclipse.core.runtime drwxr-xr-x 3 root root 4096 May 29 00:03 org.eclipse.equinox.app drwxr-xr-x 9 root root 4096 May 29 00:04 org.eclipse.osgi So just chown recursively, for example ... chown -R ali:ali eclipse-mars/ |
All times are GMT -5. The time now is 02:46 PM. |