dbeaver 1.2 on Kubuntu 11.04 64bits does not work

Note: please leave bug reports and feature requests on

dbeaver 1.2 on Kubuntu 11.04 64bits does not work

Postby manu007 » Wed Jun 01, 2011 6:55 am

Normaly, Ubuntu and Kubuntu are the same, but...

Installed the package (dbeaver-1.2.0-linux.gtk.x86_64.zip), on Kubunti 11.04 on user area, when i try to execute the program, i get the following errors :


!ENTRY org.eclipse.osgi 4 0 2011-05-30 11:29:31.993
!MESSAGE An error occurred while automatically activating bundle org.eclipse.equinox.app (16).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.app.Activator.start() of bundle org.eclipse.equinox.app.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.java:44)
at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:31)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(libgcj.so.11)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
Caused by: java.lang.NoClassDefFoundError: org.eclipse.equinox.internal.app.AppPersistence
at java.lang.Class.initializeClass(libgcj.so.11)
at org.eclipse.equinox.internal.app.Activator.start(Activator.java:53)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(libgcj.so.11)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
...31 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.internal.app.EclipseScheduledApplication
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.Class.forName(libgcj.so.11)
at java.lang.Class.initializeClass(libgcj.so.11)
...35 more
Root exception:
java.lang.NoClassDefFoundError: org.eclipse.equinox.internal.app.AppPersistence
at java.lang.Class.initializeClass(libgcj.so.11)
at org.eclipse.equinox.internal.app.Activator.start(Activator.java:53)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(libgcj.so.11)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:466)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.java:44)
at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:31)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(libgcj.so.11)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.internal.app.EclipseScheduledApplication
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.Class.forName(libgcj.so.11)
at java.lang.Class.initializeClass(libgcj.so.11)
...35 more



The basic java is installed correctly :

ii ca-certificates-java 20100406ubuntu1 Common CA certificates (JKS keystore)
ii java-common 0.34 Base of all Java packages
ii libaccess-bridge-java 1.26.2-3 Java Access Bridge for GNOME
ii libaccess-bridge-java-jni 1.26.2-3 Java Access Bridge for GNOME (jni bindings)
ii libhsqldb-java 1.8.0.10-6ubuntu2 Java SQL database engine
ii libjaxp1.3-java 1.3.04-5ubuntu3 Java XML parser and transformer APIs (DOM, S
ii libmysql-java 5.1.10+dfsg-2ubuntu1 Java database (JDBC) driver for MySQL
ii libservlet2.5-java 6.0.24-2ubuntu1.7 Servlet 2.5 and JSP 2.1 Java API classes
ii libxerces2-java 2.9.1-4ubuntu1 Validating XML parser for Java with DOM leve
ii openoffice.org-java-common 1:3.2.0-7ubuntu4.2 office productivity suite -- arch-independen
ii plasma-scriptengine-javascript 4:4.4.5-0ubuntu1 javascript script engine for Plasma
ii sun-java6-bin 6.24-1build0.10.04.1 Sun Java(TM) Runtime Environment (JRE) 6 (ar
ii sun-java6-jdk 6.24-1build0.10.04.1 Sun Java(TM) Development Kit (JDK) 6
ii sun-java6-jre 6.24-1build0.10.04.1 Sun Java(TM) Runtime Environment (JRE) 6 (ar
ii tzdata-java 2011g-0ubuntu0.10.04 time zone and daylight-saving time data for

I have another computer with Kubuntu 10.04, in this one it works correctly. .

The program is installed on /home/manu/misc/dbeaver and started from this directory.
manu007
 
Posts: 3
Joined: Wed Jun 01, 2011 6:45 am

Re: dbeaver 1.2 on Kubuntu 11.04 64bits does not work

Postby Serge » Wed Jun 01, 2011 11:32 am

I can't reproduce it at the moment. I'll try to find Ubuntu/Kubuntu/64 somewhere nearby and do the tests.

For now I guess that problem is in Java installation (wrong version or some extra libraries installed (e.g. gcj)).

PS Did you try to install 32bit DBeaver on your 64bit Kubuntu?
PPS DBeaver doesn't use Eclipse or any other third-party libraries from your system. It has everything inside (except Java itself).
PPPS Thank you for this report! I'm going to include this issue in the FAQ (after we fix it).
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: dbeaver 1.2 on Kubuntu 11.04 64bits does not work

Postby Serge » Thu Jun 02, 2011 2:55 pm

Most likely you use 32 bit java on 64 bit Linux..

I've tested 64 bit DBeaver on 64 bit linux and with 64 bit java, it works fine.
With 32bit JRE I got an error (very similar to the one you attached).

I tested with Sun's server JRE:

Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: dbeaver 1.2 on Kubuntu 11.04 64bits does not work

Postby manu007 » Fri Jun 10, 2011 10:32 am

Finally i found the origin of the problem.

Kubuntu installs by default open-java, dbeaver requires sun-java6, when you uninstall the openjava, the symlink to the vm java in /etc/alternatives is not erased, the solution :

cd /etc/alternatives
rm java
ln -s /usr/lib/jvm/java-6-sun/bin/java .

Now dbeaver is running correctly.
manu007
 
Posts: 3
Joined: Wed Jun 01, 2011 6:45 am


Return to Support



Who is online

Users browsing this forum: No registered users and 22 guests