You are not logged in.

#1 2011-03-21 12:28:58

Myzu
Member
From: UK
Registered: 2009-08-03
Posts: 4

Eclipse JEE doesn't start

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

#2 2011-03-22 23:04:51

kane77
Member
Registered: 2011-01-28
Posts: 12

Re: Eclipse JEE doesn't start

Myzu wrote:

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

#3 2011-03-25 09:33:33

Myzu
Member
From: UK
Registered: 2009-08-03
Posts: 4

Re: Eclipse JEE doesn't start

kane77 wrote:

Why won't you just install JEE plugins into Eclipse from [extra]?

Well the problem is that I didn't find any JEE plugin for eclipse. I just found the Eclipse JEE IDE here and from [AUR].

Maybe I missed a package somewhere ?

Offline

#4 2011-07-03 10:31:11

eDio
Member
From: Ukraine, Kyiv
Registered: 2008-12-02
Posts: 422

Re: Eclipse JEE doesn't start

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/eclipse

But it should add the following instead.

-Dosgi.configuration.area=@user.home/.config/eclipse

So editing eclipse.ini manually solves the issue

I'm going to notify package maintainer about the issue now.

Offline

Board footer

Powered by FluxBB