f when running you receive
Tools are a big part of being a productive developer on OpenJFX and we aim to provide excellent support for all three major IDEs: NetBeans, IntelliJ IDEA, and Eclipse. Regardless of which development environment you prefer, you should find it easy to get up and running with OpenJFX. We hope you will return the favor by submitting patches and bug reports!
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
module zTesttest { requires javafx.base; requires javafx.graphics; requires javafx.controls; exports zTesttest; } |
In the project properties, Go go to Java Build Path -> Modulepath
and add the required projects.Write your classes.
If when running you receive warnning warnings about missing packages or modules, edit the run configuration by going to its Dependencies -> Override Dependencies
, then delete the launch dependencies and Override
.
If when running you receive an error like:
Code Block |
---|
Graphics Device initialization failed for : d3d, sw
Error initializing QuantumRenderer: no suitable pipeline found
|
Then add -Djava.library.path="...\rt\modules\javafx.graphics\build\module-lib"
to the VM arguments in the launch configuration.
Run Sample Code (NOTE: old)
...