Reputation: 395
I am trying to run JavaFX application but there is showing the following error
Error: JavaFX runtime components are missing, and are required to run this application
Until this step, I could not import the JavaFX, and I have done it from /usr/lib/jvm/java-8-openjdk-amd64
Can someone help to solve this error?
Thanks beforehand. By the way, I am using lubuntu operating system
Upvotes: 5
Views: 16131
Reputation:
As explained on official OpenJFX website
Upvotes: 11
Reputation: 1838
There is no strictly defined javafx in openjdk8.
You need to install openjfx via commandline:
sudo apt-get install openjfx
Upvotes: 0