Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » JavaFX jars missing in Plug-in Dependencies during migration from Java8 e4-swt to Java 11 e4-javafx
JavaFX jars missing in Plug-in Dependencies during migration from Java8 e4-swt to Java 11 e4-javafx [message #1827887] Tue, 26 May 2020 11:25 Go to next message
Ignacio A is currently offline Ignacio AFriend
Messages: 4
Registered: May 2020
Junior Member
We are upgrading an existing "Java 8 e4-swt"-based plugin into a "Java 11 e4-JavaFX" plugin.
For this task I installed e(fx)clipse and set my Eclipse using the instructions here:

(Setting up e(fx)clipse RCP development for Java11+ and PDE)
h-t-t-p-s://tomsondev.bestsolution.at/2020/01/28/setting-up-efxclipse-rcp-development-for-java11-and-pde/

I also found some instructions for upgrading a "Java8 e4-swt" plug-in to a "Java8 e4-JavaFX" plug-in here:
(SWT to JavaFX migration Eclipse RCP Cookbook)
h-t-t-p-s://blog.codecentric.de/en/2015/02/swt-javafx-migration-eclipse-rcp-cookbook/

My current problem is that I can not get the referencies to the JavaFX jars in the "Plug-in Dependencies" part of the classpath.

When I create a new e4-JavaFX project using the e(fx)clipse wizards, these JavaFX jar dependencies are created automatically (magically), but I do not know how to get these dependencies there if the project already exists.

May be this is not really necessary and I can get the references to the JavaFX jars using other methods. I can think about two:

1. Referencing the JavaFX libraries in the "Referenced Libraries" part of the classpath
2. Or may be packing the JavaFX jars into a Plug-in (like using the "Plug-in from existing JAR Archives" new-project-wizard)

May be you have a tip (best practice) how to reference the JavaFX jars in an existing plug-in project.

These is a picture of the JavaFX jars that I am missing in my project (when upgrading an existing plug-in project):
h-t-t-p-s://tomsondev.bestsolution.at/2020/01/28/setting-up-efxclipse-rcp-development-for-java11-and-pde/#jp-carousel-5221

Thank you.

(I wrote h-t-t-p-s instead of https because as a new user I am not allowed to create direct links to external sites)

[Updated on: Tue, 26 May 2020 12:48]

Report message to a moderator

Re: JavaFX jars missing in Plug-in Dependencies during migration from Java8 e4-swt to Java 11 e4-jav [message #1827926 is a reply to message #1827887] Wed, 27 May 2020 06:12 Go to previous message
Ignacio A is currently offline Ignacio AFriend
Messages: 4
Registered: May 2020
Junior Member
I found down below a similar issue to mine: https://www.eclipse.org/forums/index.php?t=msg&th=1103057&goto=1823514&

I had the wrong EE (Execution Environment) set in my project.
I changed the EE to JavaSE-11, but the "Plug-in Dependencies" did not update itself.
With "Configure classpath ..." I removed the "Plug-in Dependencies" Library and added it again to the classpath, but I had the same result as before.

I am expecting to become the references to the javafx jars under "Plug-in Dependencies", but they do not show.
Previous Topic:Error at update
Next Topic: java.lang.IllegalArgumentException: module javafx.graphics not in layer
Goto Forum:
  


Current Time: Thu Jul 02 20:01:43 GMT 2020

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

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

Back to the top