Compiling and running

Compiling

It is not recommended building Java projects manually. But if needed follow these steps to compile Java files.

First compile the file to run:

javac App.java

Running

To run it:

java App

JAR

JAR files are ready to be used:

java -jar App.jar

Last updated