Introduction to Java for DIT044 Labs
How to run?
- Navigate to one of the directories in the terminal (you can use the
cdcommand for that). - Use
javac *.javato compile all files in the directory, orjavac Example1.javato compile one file. - Use
java Example1to run Example1.java, and so on.