Answers for "how ot run make a jar acess another jav cmd"

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
0

run jar file with different jre

First, go to the location of the java installation file. By default, this is:
C:Program FilesJava...
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

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language