- Java source code is stored in .java files which have the same name as the class.
- Java packages represent the folders the java file will be in
- You can use the "CD" command to navigate folders on the command line
- You can use wild cards to speed it up "CD My*" as and example.
- Javac MyFirstProgram.java will compile the class file.
- You must be in the correct folder before you can compile.
- java example1.MyFirstProgram will run the code.
- You must be in the folder above so Java can find the package and class file.