Practice English Speaking&Listening with: JavaFX [1] - Passende Java Version

Difficulty: 0

Welcome to a new JavaFX video. In this video we will make sure

we meet

the minimum requirements for JavaFX.

I use Eclipse, you can use

the IDE you want to use.

So, i create a new Project,

A normal Java Project.

In this case, the Project name is FXDemo.

And now

we will test our Java version.

First, we create a class, "Main" in this case.

And then we click "Finish".

(Insertion; 1:16 to skip) (First of all, what I forgot at the last video:)

(It would not be bad if you)

(if you would have knowledge about Generics)

(this is something like this)

You must use a

Java version which supports generics,

and you must

write the following line without error messages:

import javafx.application.Application;

Here, we see an error message.

To fix it,

i click on the error icon

and try to fix it. right-click - select Properties -

Java Build Path -

and then

click on "Libraries"

and then "JRE System Library" - edit.

Now, look for a Java version which supports JavaFX.

For example this. (I use JavaSE 1.8 in the video.)

So, here is no warning anymore. If here is no warning,

you are ready so far. Again: If you create this class,

with the import of javavx.application.Application

and copy it in your IDE, and if the IDE does not show an error, you know

that you

use a Java version with JavaFX support.

Else, you will have to install a new Java version

with JavaFX support.

This video has finished, so until next time.

The Description of JavaFX [1] - Passende Java Version