You are not logged in.
Hi,
I was using Eclipse before and everything worked well. Today I tried to install eclipse-jee from aur (starting by uninstalling eclipse) and now eclipse-jee doesn't want to start. I think that the previous eclipse let corrupted config files, i tried to delete ~/.eclipse but I got exactly the same output, it seems the ~/.config/eclipse is missing (and it is) :
[cedric@m50sv ~]$ eclipse
Exception in thread "main" java.lang.NoClassDefFoundError: osgi/configuration/area=@user/home//config/eclipse
Caused by: java.lang.ClassNotFoundException: osgi.configuration.area=@user.home..config.eclipse
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: osgi.configuration.area=@user.home/.config/eclipse. Program will exit.[cedric@m50sv eclipse]# java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10) (ArchLinux-6.b22_1.10-1-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)I tried to download eclipse-jee from eclipse's website and everything runs perfectly but I just wanted to have a proper install of eclipse-jee. Any ideas ?
Offline
Hi,
I was using Eclipse before and everything worked well. Today I tried to install eclipse-jee from aur (starting by uninstalling eclipse) and now eclipse-jee doesn't want to start. I think that the previous eclipse let corrupted config files, i tried to delete ~/.eclipse but I got exactly the same output, it seems the ~/.config/eclipse is missing (and it is) :
[cedric@m50sv ~]$ eclipse Exception in thread "main" java.lang.NoClassDefFoundError: osgi/configuration/area=@user/home//config/eclipse Caused by: java.lang.ClassNotFoundException: osgi.configuration.area=@user.home..config.eclipse at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not find the main class: osgi.configuration.area=@user.home/.config/eclipse. Program will exit.[cedric@m50sv eclipse]# java -version java version "1.6.0_22" OpenJDK Runtime Environment (IcedTea6 1.10) (ArchLinux-6.b22_1.10-1-x86_64) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)I tried to download eclipse-jee from eclipse's website and everything runs perfectly but I just wanted to have a proper install of eclipse-jee. Any ideas ?
Why won't you just install JEE plugins into Eclipse from [extra]?
Offline
Offline
Sorry for necroposting... But I believe this may be helpful.
The reason of such behaviour is wry eclipse.ini.patch.
It adds the following line to the eclipse.ini file
osgi.configuration.area=@user.home/.config/eclipseBut it should add the following instead.
-Dosgi.configuration.area=@user.home/.config/eclipseSo editing eclipse.ini manually solves the issue
I'm going to notify package maintainer about the issue now.
Offline