How do I run Java on Windows?

How do I run Java on Windows?
Answer
Steps
  • Save the program. After using a text editor, such as NotePad, to create your Java program, save the program with a .java extension.
  • Open Command Prompt/Terminal. Accessing the command line differs slightly for Mac and Windows.
  • Navigate to the correct folder.
  • Compile the program.
  • Run the program.
 

Tìm kiếm

Back
Top