You are on page 1of 1

1. In Windows click Start. 2. Click Run. 3. Type cmd in the run field and press enter. 4.

In Command Prompt type cd\[folder name directory] and press enter. (example: cd\Users\admin\Desktop\How To Program In Java\). 5. Type javac FileName.java and press enter. 6. Type java FileName and press enter.

You might also like