I use MS J++ at work and you shouldn't have a
problem compiling if you put your file in a project. Once
in a project, choose the Build option on the toolbar
and select Build (or just hold down Cntl+Shift+B). If
you wish to compile and run it outside of the editor,
go to the MS-DOS Prompt. Map your way to the
directory where the .java file is. Then type: <br>javac
[filename].java <br>If you compile with no errors, another prompt
will appear. To run the program, type:<br>java
[filename]