user4402088
user4402088

Reputation: 57

JavaFX runtime components are missing whenrunning an exported jar

I created a project in eclipse and want to run my exported .jar file on an other machine. When I try to do so using "java -jar myfile.jar", I get the following message: Error: JavaFX runtime components are missing, and are required to run this application

If I run it in eclipse (using jdk13), everything works.

On the machine where I want to run the jar file I installed openjdk and openjfx. Actually I'm not sure wether the problem has to be solved in eclipse while exporting the jar file or on the other machine while running it? And how? May anyone give me a hint?

Upvotes: 2

Views: 313

Answers (0)

Related Questions