Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Does efxclipse run on Eclipse 2020-03?
Does efxclipse run on Eclipse 2020-03? [message #1823936] Sat, 04 April 2020 06:22 Go to next message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 80
Registered: April 2017
Member
Hi,

I am wondering if e(fx)clipse tooling (nightly, 3.7.0) is compatible with Eclipse 2020-03.
When I try to edit the run configuration I get the following exception:
An error has occurred. See error log for more details.
org/eclipse/pde/internal/launching/launcher/BundleLauncherHelper.checkBackwardCompatibility(Lorg/eclipse/debug/core/ILaunchConfiguration;Z)V (loaded from file:/home/marcelo/eclipse/rcp-photon-javafx/../../.p2/pool/plugins/org.eclipse.pde.launching_3.8.100.v20200220-1000.jar by org.eclipse.osgi.internal.loader.EquinoxClassLoader@638d94dd[org.eclipse.pde.launching:3.8.100.v20200220-1000(id=3048)]) called from class org.eclipse.pde.ui.launcher.AbstractPDELaunchConfigurationTabGroup (loaded from file:/home/marcelo/eclipse/rcp-photon-javafx/../../.p2/pool/plugins/org.eclipse.pde.ui_3.10.600.v20190228-1427_BETA_JAVA12.jar by org.eclipse.osgi.internal.loader.EquinoxClassLoader@81cce4a[org.eclipse.pde.ui:3.10.600.v20190228-1427_BETA_JAVA12(id=1745)]).


Thanks!
Re: Does efxclipse run on Eclipse 2020-03? [message #1823938 is a reply to message #1823936] Sat, 04 April 2020 07:14 Go to previous messageGo to next message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 80
Registered: April 2017
Member
I tried a new fresh install and I noticed the runtime-latest update site points to version 3.4.1 (do I need to file a bug report for this?), so I chose the latest 3.6.x
I followed Tom's blog post: https://tomsondev.bestsolution.at/2020/01/28/setting-up-efxclipse-rcp-development-for-java11-and-pde/ to and now I can open and change the runtime configurations.
When I tried to run the program I get the following exception:
java.lang.NoClassDefFoundError: javafx.application.Application
	at java.base/java.lang.ClassLoader.defineClassImpl(Native Method)
	at java.base/java.lang.ClassLoader.defineClassInternal(ClassLoader.java:479)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:440)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:279)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:703)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:626)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:594)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:574)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:553)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:331)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1081)
	at org.eclipse.fx.ui.workbench.fx.E4Application.getJfxApplicationClass(E4Application.java:421)
	at org.eclipse.fx.ui.workbench.fx.E4Application.launchE4JavaFxApplication(E4Application.java:406)
	at org.eclipse.fx.ui.workbench.fx.E4Application.start(E4Application.java:196)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:199)
	at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:29)
	at java.base/java.lang.Thread.run(Thread.java:847)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application cannot be found by org.eclipse.fx.ui.workbench.fx_3.6.2.202001141052
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1081)
        ... 22 more


Any ideas of why this might be going on?
Thanks!
Re: Does efxclipse run on Eclipse 2020-03? [message #1823965 is a reply to message #1823938] Sat, 04 April 2020 21:06 Go to previous message
Marcelo Ruiz is currently offline Marcelo RuizFriend
Messages: 80
Registered: April 2017
Member
Well, you can disregard this thread. Something was corrupted when I updated eclipse. I reinstalled everything again and the sample project is running. I need to figure out now why my app is not running but this is an unrelated issue.
Previous Topic:no "new JavaFX project" after e(fx)clipse installation
Next Topic:CSS problem on JavaFX e4 app
Goto Forum:
  


Current Time: Sat Oct 05 19:14:07 GMT 2024

Powered by FUDForum. Page generated in 0.03870 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top