Answers for "how to run a jar file command line"

1

how to run java program with external jar files in command prompt

javac -cp "<File-Path>.jar;." <filename>.java
java -cp "<File-Path>.jar;." <filename>
Posted by: Guest on March-04-2021
1

open jar file with command prompt

For Linux:

java -jar <filename>.jar
Posted by: Guest on December-14-2020
0

how to run module jar file in java

javac -d out --module-source-path src/main/java --module com.jenkov.mymodule
Posted by: Guest on December-13-2020

Code answers related to "how to run a jar file command line"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language