I write maven project and I run it in Eclipse but I want to run maven project in using command line so I write
java -jar -Dapple.awt.UIElement="true" target/myproject-1.0-SNAPSHOT.jar -h
line in cmd but I have this error https://i.stack.imgur.com/c03mN.png.
How can I solve it?