E(FX)Clipse in Eclipse 2019-12 (4.14.0) No wizard. [message #1823731] |
Wed, 01 April 2020 00:18 |
Andrew Scott Messages: 5 Registered: April 2020 |
Junior Member |
|
|
Hi,
I am attempting to use Eclipse 2019-12, with E(FX)Clipse. I teach a software development course in and part of this is learning to build a user interface.
In previous years I have had no problem installing the E(FX)Clipse plug in to demonstrate in a lecture or lab how to install and set up a Java Developer setup using Eclipse Java 8 and E(FX)Clpse and for the past few years I've had no issue.
This year I am attempting to set up E(FX)Clipse 3.6 on to Eclipse 2019-12 (4.14.0) with Java JDK 13.0.1 and Java FX SDK 13.0.1 and, but something is not right.
In Eclipse I am used to going to file > New > other and seeing a nice wizard for setting up a Java FX Project., but the wizard is not there. Furthermore, going in to the Eclipse settings, I do not see a JavaFX section on the left like I am used to.
I have installed your project using the Eclipse Market place, as well as by dragging and dropping the link from the the Marketplace website into Eclipse. It seems to install, but as described it is not working. So I am asking what is wrong and where is there no wizard or settings?
I am due to give a video cast to my students tomorrow (working from home because of the Corona Virus). But without this working we are going to have to go around the houses each time I set up a project and write code.
[Updated on: Mon, 06 April 2020 02:21] Report message to a moderator
|
|
|
|
|
|
Re: E(FX)Clipse in Eclipse 2019-12 (4.14.0) No wizard. [message #1823981 is a reply to message #1823906] |
Mon, 06 April 2020 02:14 |
Andrew Scott Messages: 5 Registered: April 2020 |
Junior Member |
|
|
Yes Thomas that link was correct. However, in frustration I did install the new 2020-03 version and it worked just as it should with Java FX8.
So I took to reinstalling version 2019-12 to see if my installation was messed up. It still did not work, so I am assuming it does not work with 2019-12.
Some other information you might be interested in. The only way I ever got E(fx)Clipse to play ball with the independent Java FX SDK (i.e. version 9 and above) was via this procedure which I get my students to perform for each new Java FX project. I wonder if some how you can incorporate this into E(FX)Clipse. Are you saying installing that nightly build will mean I do not have to do this any more?
Creating a Java FX Project
Go through this step for each new Java FX project to be built. First, go to file > new > other and find the option for creating a new Java FX Project. Once the project is created you will notice it does not compile as Eclipse needs to know about the JavaFX libraries.
Access the project properties and then find the Java build path. Select the Libraries tab and then module path. Then select the add library button and then select the user library option before pressing next.
On the window that appears select new and name the library JavaFX13. Select add external jars and then find the lib folder of your JavaFX 13 installation directory and select all of the .jar folders then apply and close or finish on all windows.
If you attempt to run the project you will find it will not be able to find application.main. To fix this we have one last step. Right click main.java in Eclipse's package explorer. Select run as > run configurations and then select the arguments tab. In the vm arguments add the following (where the module path points to the lib your installation of the Java FX sdk):
--module-path C:\Java\javafx-sdk-13.0.1\lib --add-modules=ALL-MODULE-PATH
[Updated on: Mon, 06 April 2020 02:19] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03771 seconds