E.6. Compiling and Running Programs

1.
Open a command prompt
2.
cd to directory where the .java file you want to compile is stored
3.
To compile: javac myClass.java
4.
To run: javac myClass

Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.