How to run a java application. jar file from the command line. It is already there, you need to start it. not compile and run the source file (javac and java), but run the finished jar file (application)
Answer 1, authority 100%
To run in the console, write:
java -jar /home/user/jar_name.jar
– for Linux
java -jar C: \ Users \ user \ jar_name.jar
– for Windows