Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Eclipse Galileo starts with exception on Debian

    I can successfully launch and work with Eclipse under root in Debian. But when start it under non-privileged user I get:

    !SESSION 2010-02-19 17:27:41.673 -----------------------------------------------
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Framework arguments:  -product
    Command-line arguments:  -os linux -ws gtk -arch x86 -product
    !ENTRY org.eclipse.osgi 4 0 2010-02-19 17:27:42.671
    !MESSAGE Error reading configuration: Permission denied
    !STACK 0 Permission denied
    	at Method)
    	at org.eclipse.osgi.storagemanager.StorageManager.initializeInstanceFile(
    	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(
    	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(
    	at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(
    	at org.eclipse.osgi.framework.internal.core.Framework.initialize(
    	at org.eclipse.osgi.framework.internal.core.Framework.<init>(
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    	at java.lang.reflect.Method.invoke(
    	at org.eclipse.equinox.launcher.Main.invokeFramework(
    	at org.eclipse.equinox.launcher.Main.basicRun(
    What permissions should I set up? Thanks.

  2. #2
    Just Joined!
    Join Date
    Dec 2009
    Maryland, USA
    Your non-privileged user permissions do not have the accesses necessary to read the Eclipse configuration files and (probably) the other folders needed to run Eclipse.

    I don't know the best way to fix the problem, but you could reinstall Eclipse as the non-privileged user so that you'd have access to all of the files and folders necessary to run as a user other than root.

  3. #3
    I don't understand how reinstalling Eclipse can solve my problem. The problem is what permissions should I set up to launch Eclipse under non-privileged user?

  4. $spacer_open
  5. #4
    I solved my problem. Previously eclipse was unarchived under root so some files and directories in eclipse were unavailable for simple user. I unarchived Eclipse under this simple user and now all is working fine.

  6. #5
    Just Joined!
    Join Date
    Dec 2009
    Maryland, USA
    Sorry that I didn't understand that your original post defined a minimal solution set.

    Essentially, you reinstalled Eclipse so that it was accessible to unprivileged users, and it solved your problem without messing with permissions on the original install. Congrats.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts