Problem with javac compiler


I don’t know what i am doing wrong, but when i am trying to compile a file, i.e. javac, it doesn’t compile the file. Please see the attachment. It complains that the file is not found. Please help.



In this case, the solution is pretty simple. Unlike Windows, where the default is to not show file extensions, Cloud9 does show file extensions. What I can tell from the file tree is that the file you think is is actually just Plus, with no extension. To fix this, just right click on the file, click rename, and add .java to the end. Then try compiling it again. This will also enable Java syntax highlighting for your file, as an added bonus.


Great! thanks for your help.