e(fx)clipse + Java 17 LTS [message #1844676] |
Tue, 21 September 2021 05:03  |
Eclipse User |
|
|
|
I am successfuly using e(fx)clipse with Java 15 + JavaFX 16.
After upgrading to Java 17 LTS eclipse does not find OpenJFX libriaries specified under "Preferences > JavaFX > JavaFX 11+ SDK" anymore. This seems to be an OSGi problem also, becouse deployed runtime applications cannot use javafx libriaries for jdk 17. This problem is also occuring for Java 16.
Is there some workaround about this or plans to update e(fx)clipse to support current java LTS version?
|
|
|
|
|
|
|
Re: e(fx)clipse + Java 17 LTS [message #1849213 is a reply to message #1847672] |
Sat, 08 January 2022 08:55  |
Eclipse User |
|
|
|
Hi,
I've just moved on OpenJDK 17.0.1 + OpenJfx 17.0.1 + EFX 3.7.1 (nightly p2 sites tooling + runtime) + Eclipse IDE 2021/12, everything runs well including JavaSE-11 target.
If you still have some bundles with MANIFEST.MF set to JavaSE-11 that depends on javafx, to get your code compiled, you have to tick the checkboxes in Java > Installed JRE, that JDK 17 is compatible JRE with JavaSE-11 to 17.
Then close / reopen the bundles that depends on javafx, and clean all to force everything to recompile.
Like this, you are using JDK 17 but with a targeted env set to JavaSE-11 (check the compiler setting).
It can avoid duplicating JDK packages installed on your machine.
Stéphane
|
|
|
Powered by
FUDForum. Page generated in 0.02693 seconds