
Typically, your app will be comprised of many files, and you’ll have to create a ‘project’ to tie them all together. This is a special process for a single-source-file Java app. Note that you will almost never create a Java program this way. Observe that javac compiled test1.java to test1.class. ‘java’ is command which used to run a compiled program. cd to the directory where you saved test1.java.

a Java file that is not part of a project.)


VSCode will prompt you to install the Java extension pack.
