|
|
|
|
|
|
|
|
Re: 11 errors on "New FX-Project" [message #1804293 is a reply to message #1804282] |
Fri, 22 March 2019 00:17 |
Andrew scott Messages: 3 Registered: March 2019 |
Junior Member |
|
|
I really should not have to install Gradle just to build basic Java GUI applications. I have to suffer Gradle in Android and would like to stay away from it for vanilla Java applications. I really think this process needs to be simplified. In particular if Oracle are going to harm their eco system, then it falls on E(FX) to simply this without requiring things such as Gradle and Maven.
It really does feel like the support for JavaFX (in JDK 11)from all IDEs has taken a back seat so much so that I think for a language as prominent and important as Java, its quite an awful situation which will only drive people elsewhere. If E(fx) can simplify this, Eclipse will be at a clear advantage overt other IDEs as far as JavaFX goes and will only strengthen E(fx)s importants within the Eclipse EcoSystem.
[Updated on: Fri, 22 March 2019 00:28] Report message to a moderator
|
|
|
|
Re: 11 errors on "New FX-Project" [message #1810732 is a reply to message #1804313] |
Sun, 18 August 2019 11:04 |
Bernhard Steppan Messages: 1 Registered: July 2009 |
Junior Member |
|
|
I now have found the solution for the problem with Eclipse an JavaFX:
- E(fx)clipse is not required
- Install JavaFX, e.g. version 12
- Make a user library from this libs inside the JavaFX folder, e.g. JavaFX 12
- Make a new Java project and add the JavaFX 12 user library
- Create a new JFX application
- Run the application with a modified Eclipse run configuration:
Add the vm arguments:
--module-path /Users/bsteppan/ ... /javafx-sdk-12.0.1/lib --add-modules javafx.controls,javafx.fxml
and -- VERY IMPORT --
disable the check box: Use the -XstartOnFirstThread argument when launching with SWT
Hope this helps!
-Bernhard
[Updated on: Thu, 29 August 2019 04:12] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04560 seconds