Running DBeaver From Source Code

Note: please leave bug reports and feature requests on

Running DBeaver From Source Code

Postby tdong » Thu Jun 25, 2015 4:17 pm

I'm new to Eclipse RCP development and I'm having a difficult time running DBeaver from the source code.

I tried opening the product/DBeaver.product file and clicking on "Launch an Eclipse Application" from the Overview Tab. When I do this I get this error:

!SESSION Thu Jun 25 09:10:42 PDT 2015 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2015-06-25 09:10:42.049
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:633)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

Then I tried to "Run Configuration". I clicked on "Add Required Plug-Ins" in the Plug-Ins tab and that got rid of the error above but now I am getting this error:

!SESSION 2015-06-25 09:15:32.824 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_72
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.jkiss.dbeaver.core.application.product
Command-line arguments: -product org.jkiss.dbeaver.core.application.product -data /Users/tedmonddong/dev/workspace-rcp-kepler/../runtime-DBeaver.product -dev file:/Users/tedmonddong/dev/workspace-rcp-kepler/.metadata/.plugins/org.eclipse.pde.core/DBeaver.product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog

!ENTRY org.eclipse.equinox.app 0 0 2015-06-25 09:15:33.771
!MESSAGE Product org.jkiss.dbeaver.core.application.product could not be found.

!ENTRY org.eclipse.osgi 4 0 2015-06-25 09:15:33.793
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

Been trying to get this to work for almost two weeks now and am about to give up. Any tips/help would be greatly appreciated!
tdong
 
Posts: 10
Joined: Tue Jun 16, 2015 6:15 pm

Return to Support



Who is online

Users browsing this forum: No registered users and 30 guests