Answers for "how to launch a jar file"

-3

run jar file

java -jar yourFile.jar
Posted by: Guest on August-16-2020
0

run jar file with different jre

First, go to the location of the java installation file. By default, this is:
C:\Program Files\Java\...
Open the folder of the java version you want and go to the bin folder.
Copy the directory your at then go to your command line. 
Syntax: (%PATH% is path you copied):
"%PATH%/java.exe" [javaArgs] [filePath] [yourCodeArgs]
Posted by: Guest on March-20-2021
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 "Java"

Java Answers by Framework

Browse Popular Code Answers by Language