Launching e(fx)clipse RCP for Java17 [message #1851622] |
Mon, 11 April 2022 12:29 |
Marco Maisano Messages: 22 Registered: March 2020 |
Junior Member |
|
|
Hi,
using:
- Eclipse 2021-12
- Java JDK 17
- JavaFX SDK 11
and following the following guide: https://tomsondev.bestsolution.at/2020/01/28/setting-up-efxclipse-rcp-development-for-java11-and-pde/
So summarizing the steps:
1) I have installed the Java17 JDK.
2) Link the JavaFX sdk
3) Set the Target Platform with the 2 software sites
- http://download.eclipse.org/efxclipse/runtime-latest/site
- http://downloads.efxclipse.bestsolution.at/p2-repos/openjfx-17.0.1/
4) Setted the feature with application and org.eclipse.fx.osgi
5) Setting the product content with:
- feature
- org.eclipse.fx.runtime.e4fx.feature
- openjfx.standard.feature
Then, I created into the Application.e4xmi a TrimmedWindow with a Part like in the guide....
Then, launching the product I have the following problem:
WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector
!SESSION 2022-04-11 12:50:01.804 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.1
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
!ENTRY org.eclipse.osgi 2 0 2022-04-11 12:50:01.994
!MESSAGE The persistent format for the framework data has changed. The framework will be reinitialized: Found persistent version "6" expecting "3"
!ENTRY org.eclipse.osgi 4 0 2022-04-11 12:50:01.996
!MESSAGE The -clean (osgi.clean) option was not successful. Unable to clean the storage area: C:\Marco\ELMAN\Workspace\2022-04-dev3.0\.metadata\.plugins\org.eclipse.pde.core\my.app.app.product.product\org.eclipse.osgi
!ENTRY my.app.app 4 0 2022-04-11 12:50:02.356
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: my.app.app [8]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=17))"
at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1613)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.equinox.app 0 0 2022-04-11 12:50:02.542
!MESSAGE Product my.app.app.product could not be found.
!ENTRY my.app.app 2 0 2022-04-11 12:50:02.582
!MESSAGE Could not resolve module: my.app.app [8]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=17))"
!ENTRY org.eclipse.osgi 4 0 2022-04-11 12:50:02.583
!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:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
gogo: InterruptedException: sleep interrupted
java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep(Native Method)
at org.apache.felix.gogo.shell.Activator.run(Activator.java:72)
at java.base/java.lang.Thread.run(Thread.java:833)
Can someone help me?
[Updated on: Mon, 11 April 2022 12:30] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03771 seconds