hello.java is not on the classpath of project code example Example: App.java is not on the classpath of project Right click on Folder -> Add folder to java source path