Valdosta State University
Eclipse, Java, and e(fx)clipse Plugin RequirementsWe use Eclipse to do programming in this class. Much later in the semester, we will do Gui programming using a technology called JavaFX. To use JavaFX to do Gui programming in Ecllipse, we need an Eclipse plugin named e(fx)clipse. Instructions for installing this plugin are below. However, it will not work unless you have a particular version of Java. These instructions illustrate how to:See which version of Java you have on your machine. And, how to remove an incompatible version if you have one and how to install the correct one.See which version of Eclipse you have on your machine and how to install it if necessary.Install the e(fx)clipse pluginCreate a JavaFX project to verify that the plugin works correctly.Sufficient RequirementsI have found these conditions to be sufficient to use JavaFX to do Gui programming:Java SE 8 (current version: u231, as of November 5, 2019)Eclipse, a recent version (last year or so, current version is: Eclipse IDE 2019-09, any 2019 version should be fine)e(fx)clipse pluginThe remainder of this document explains how to check what versions you have, download, uninstall, etc.Java SE 8To see what version of Java you have:Choose: Start, Control Panel, Uninstall a program (we are not going to uninstall!)When the list of programs populates, scroll down and find Java. On my computer, the display shows I’m using: Java SE 8 112 (a bit older than current version, u231)Some people may see Java 9,10,11,12, or 13 and JavaFX may not work. If you do not see Java SE 8 (any update), I recommend uninstalling them from the dialog above. WARNING: This should be a safe thing to do; however, it could affect other programs on your computer (don’t think likely, though). You can google to find out.Then, install Java 8u231. Do this by Visiting this page: scroll down until you see Java 8. On my computer it looks like this:Select “Download” (JDK) which displays this page:Select the last link (Windows x64 probably): jdk-8u231-windows-x64.exeIt will ask you to login or create an account. From there, follow the directions to install.EclipseCheck your version of Eclipse by doing the following:Start EclipseChoose: Help, About Eclipse IDEOn my computer it looks like this:If you don’t have a version of Eclipse 2019-03 or higher, go to: shown below, select, “Download 64 bit”An exe installer will download. Run it to install.Install the e(fx)clipse Pluginright444500In Eclipse, choose: Help, Eclipse MarketplaceIn the Find field, type: “e(fx)clipse.” Then choose: Goright571500The result should be similar to the figure on the right. Choose: InstallNote: the install dialog will close and Eclipse will be minimized. However, it is still installing. The Eclipse icon in the Task Bar will have a green bar moving left to right showing that it is still installingChoose to: Restart Now when prompted.Create a JavaFX ApplicationDo this to verify that you have JavaFX installed.Open Eclipse in a workspace.As shown in Figure 1 below, choose: File, New, Project, JavaFX, JavaFX Project, NextProvide a Project name, say, Sample Gui, and choose: FinishAs shown in Figure 2 below, in the Package Explorer, drill down into the Sample Gui folder, then the application folder, and then open Main.java.Run Main and it will display an empty Gui as shown in Figure 3 below.Figure 1Figure 2Figure 3 ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
Related searches
- illinois state university online courses
- illinois state university programs
- illinois state university bachelor degrees
- illinois state university degree programs
- illinois state university online degree
- illinois state university online masters
- illinois state university summer schedule
- illinois state university summer classes
- illinois state university phd programs
- illinois state university online program
- illinois state university online degrees
- illinois state university masters programs