Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Non root use of eclipse
Non root use of eclipse [message #166201] Thu, 17 August 2006 14:27 Go to next message
Eclipse UserFriend
Originally posted by: jimmy.gibson.unn.ac.uk

I have installed eclipse-SDK-3.2-linux-gtk.tar.gz in /usr/local/eclipse
and jre-1.5.0_06-fcs in its default location from the rpm file. The
operating system is RedHat Enterprise Linux Version 4 update 3 which is on
a workstation to be used by multiple users.

I can run eclipse OK when logged in as root but not when logged in as a
normal user.

As a normal user I get the error message -

An error has occurred. See the log file
/usr/users/students/cmzero1/.eclipse/org.eclipse.platform_3. 1.2/configuration/1155823644086.log.

I have previously installed eclipse under RHEL v3 in exactly the same way
and this runs OK with both root and normal users.

Can anyone point me in the right direction to solving this problem?

Is it a compatibility issue with RHEL v4

Regards

Jimmy Gibson
Northumbria University
Newcastle upon Tyne
UK

The 1155823644086.log file contains

8< ------------------------------------------------------------ ----------------

!SESSION 2006-08-17 15:07:24.16
------------------------------------------------eclipse.buil dId=M20060118-1600
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 2006-08-17 15:07:24.774
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException[1]:
java.lang.ClassNotFoundException:
org.eclipse.ui.internal.ide.IDEApplication
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1248)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:152)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:142)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:129)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:222)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

8< ------------------------------------------------------------ ----------------
Re: Non root use of eclipse [message #166226 is a reply to message #166201] Thu, 17 August 2006 17:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.mknauer.com

Jimmy Gibson wrote:
> I have installed eclipse-SDK-3.2-linux-gtk.tar.gz in /usr/local/eclipse
> and jre-1.5.0_06-fcs in its default location from the rpm file. The
> operating system is RedHat Enterprise Linux Version 4 update 3 which is
> on a workstation to be used by multiple users.
>
> I can run eclipse OK when logged in as root but not when logged in as a
> normal user.
>
> As a normal user I get the error message -
>
> An error has occurred. See the log file
> /usr/users/students/cmzero1/.eclipse/org.eclipse.platform_3. 1.2/configuration/1155823644086.log.

Hi Jimmy,

are you sure that your computer does what you want? You wanted to start
Eclipse 3.2, but you get an error log from the eclipse platform 3.1.2.

Did you try to start Eclipse with the parameter "-clean"? That's the
next thing I would try (or remove the content from the .eclipse directory).

Do you know the section about multi-user installs in the Eclipse Help?
(Platform Plug-in Developers Guide > Reference > Other reference
information > Multi-user installs)

Regards
Markus
Re: Non root use of eclipse [message #166350 is a reply to message #166226] Fri, 18 August 2006 15:10 Go to previous message
Eclipse UserFriend
Originally posted by: jimmy.gibson.unn.ac.uk

Thanks for the information.

I must have got a bit confused between the versions I am running and what
I have downloaded. I am definitely running 3.1.2.

Unsing the -clean parameter worked and I can now run eclipse as any user.

I didn't know about the multi user configuartion you mentioned, this has
been very useful. I did look round the website for documentation about
this but couldn't find any.

My next problem is configuring eclipse to work with C++, but see another
post for this.
Previous Topic:External Javadoc
Next Topic:javadoc error
Goto Forum:
  


Current Time: Tue Sep 24 20:03:23 GMT 2024

Powered by FUDForum. Page generated in 0.07844 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top