Difference between revisions of "JavaFX Setup"

From CSE231 Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
==VM Args==
 
==VM Args==
Paste the output (already in copy buffer) to the VM Arguments
+
# Load Eclipse's Preferences
 +
# Type "vm" into the filter text box
 +
# Select "Installed JREs"
 +
# Select whichever JRE you are using
 +
# Click the "Edit..." button
 +
# Paste the text from the clipboard to the VM Argument
 +
# Click the "Finish" button
  
 
[[File:Java fx preferences.png]]
 
[[File:Java fx preferences.png]]

Revision as of 16:20, 23 January 2020

JavaFX 13 Runtime

Run FxDowload

  1. Command+Shift+T (Mac) or Control+Shift+T (Windows) "FxDownload"
  2. Run as Java Program

This program will download JavaFX 13, unzip it to your Downloads folder, and put the text needed for your Java VM Arguments into the clipboard. (Linux users may need to copy the text from the console.)

VM Args

  1. Load Eclipse's Preferences
  2. Type "vm" into the filter text box
  3. Select "Installed JREs"
  4. Select whichever JRE you are using
  5. Click the "Edit..." button
  6. Paste the text from the clipboard to the VM Argument
  7. Click the "Finish" button

Java fx preferences.png

Java fx preferences vm args.png

Run FxDemoApp

test that it is working

Eclipse Java(FX) Plugin

Install the e(fx)clipse plugin from the Marketplace

Marketplace JavaFX.png