I have installed Eclipse through the Ubuntu Software Center on my new Ubuntu 11.04 laptop. I tried first using the stock openjdk-6-jdk package with it, but found it crashing on startup, so I removed openjdk6-jdk and eclipse and restarted with sun-java6-jdk package, but still got the same error.
The error from the error log is as follows:
!SESSION 2011-08-24 16:40:55.749
----------------------------------------------- eclipse.buildId=M20100211-1343 java.version=1.6.0_22 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.eclipse.osgi 4 0 2011-08-24 16:40:56.738 !MESSAGE Startup error !STACK 1 java.lang.IllegalArgumentException: invalid qualifier: 3+
at org.osgi.framework.Version.validate(Version.java:188)
at org.osgi.framework.Version.<init>(Version.java:92)
at org.eclipse.osgi.framework.internal.core.Framework.initializeProperties(Framework.java:361)
at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:196)
at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:157)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:286)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)