nicole peka wrote:I tried leaving the ".java" off (after compiling). An error occurred, I pasted it below.
Dave Tolls wrote:The 'java' command expects a fully qualified class name, and 'C:\Users\nicole\Documents\HelloWorld' is not a class name.
it needs to be:
nicole peka wrote:Oops.. I will use code tags from now on. Yes I changed directory as well. I get the same error
Error: Could not find or load main class HelloWorld