HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Set Up JavaFX to work in Eclipse | Newest 2020 version | JavaFX Beginner Tutorial

171,559 views April 26, 2020 6:42

Watch on YouTube
ChannelJava Coding Community - Programming Tutorials

Chapters

Description from the creator

Setting up JavaFX so it works in Eclipse | JavaFX Eclipse Tutorial
How to set up JavaFX 13,14 in Eclipse - Beginner JavaFX Tutorial


Okay, today I am going to show you how to set up JavaFX in Eclipse. We will be using newest JavaFX and Eclipse version, but the process is similar on all versions so don’t be afraid.
So the first thing we are going to do is install eclipse plugins for JavaFX called e(fx)clipse or efxclipse.

Help -- Eclipse MarketPlace -- and search e(fx)clipse and click Install.
Now, we have our eclipse set up and the plugins we need.
And now we have a new option in Eclipse -- File -- New -- Other -- JavaFX project.

Open this page: gluonhq.com/products/javafx/
Find the latest version and click download, once it has downloaded you want to extract it to a folder, it can be any folder, and remember its location.

Next thing we’ll be doing is creating an user library.

Window -- Preferences -- User Libraries -- New -- Call it JavaFX


Next, we need tu set up the run configuration by adding: --module-path "D:\javafx\javafx-sdk-14.0.1\lib" --add-modules javafx.controls,javafx.fxml to our VM arguments.


TIMESTAMPS:
0:00 - E(fx)CLIPSE Plugin Installation
1:15 - Creating a new JavaFX Project
1:40 - Downloading and cofiguring JavaFX
3:00 - Creating User Library
4:22 - Adding JavaFX to Eclipse
4:56 - Configuring Build Path and Arguments
5:58 - Running the program

Eclipse: eclipse.org/downloads/packages/release/2020-03/…
JavaFX: gluonhq.com/products/javafx/
Arguments: --module-path "your-path\lib" --add-modules javafx.controls,javafx.fxml

About this tutorial

Java Coding Community - Programming Tutorials published this 6:42 video tutorial on April 26, 2020. It has been watched 171,559 times on YouTube.

Duration
6:42
Published
April 26, 2020
Views
171,559
Likes
2,739

Tags

Share

This tutorial in other languages