Had to change the name of the file to HelloWorld.java
-file name has to match the name of the class to compile correctly
-compiled the file, can now run the file in command line