I am trying to run a jar file build in intellij idea with maven framework in powershell.
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
I'm trying to run jar and this happens.
PS E:\java\HowToProgram\ProjectTest\target> java -jar ProjectTest-1.0-SNAPSHOT.jar
Error: JavaFX runtime components are missing, and are required to run this application.
I configured the path for openjfx in System Variable's Path.
And this is not about configuring VMoption in IDE. I have to run that jar from powershell or cmd.
And thanks for help.
This post shows how to compile and exec in maven environment added.
My problem is that i have package the jar now i have to run this in any java installed system. And this is not happening.
When I exec the jar file in powershell then this error occur.