The error is because of it isn't called by its "fully qualified name". The project has to be called as hello.java rather than simply hello. The execution command for your file should be:java hello.java
The error is because of it isn't called by its "fully qualified name". The project has to be called as hello.java rather than simply hello. The execution command for your file should be:java hello.java