undefinedfix
Sign in

Run the Java project created in IntelliJ ide from the command line

ImMrBones edited in Fri, 01 Jan 2021

How to run the Java project created in IntelliJ ide from the command line?

2 Replies
user3241323
commented on Fri, 01 Jan 2021

Find the directory where your program is located, then press and hold shift in the blank space under the directory, right-click here to open the command window, and then execute: javac file name. After Java is compiled, execute the java file name. The file name should be the file of the entry program of the Java project.

suxbr
commented on Sat, 02 Jan 2021

Use Maven to handle this requirement

lock This question has been locked and the reply function has been disabled.