Answers for "how to run java file from terminal when it is using different classes"

3

run java from terminal

//Run this line to compile
javac programName.java

//Run this line to run
java programName
Posted by: Guest on March-23-2021
0

how to compile a java program in terminal

//Change directory into where all the java files are
javac *.java
//Chagne direcotry into com
java com.company.Main
Posted by: Guest on October-06-2021

Code answers related to "how to run java file from terminal when it is using different classes"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language