How to Compile and Run First Java Program (CMD & Notepad)

Publicado em: 15 Janeiro 2022
no canal de: Self Study Tutorials
362
7

How to Compile and Run First Java Program using Notepad and Windows Command Prompt (CMD)?

New to Java? In this tutorial, we'll show you how to write, compile, and run your very first Java program using only basic tools: Windows Command Prompt (CMD) and Notepad. No complex IDE is required!

In this video, you will learn:

How to write a simple "Hello World" program in Notepad.
The correct way to save your file as .java.
How to use the javac command to compile your code into a .class file.
How to use the java command to execute your program and see the output.

Commands used in this tutorial:

1. To Compile: javac Hello.java
2. To Run: java Hello

If you found this helpful, like and subscribe to Self Study Tutorials for more beginner-friendly coding guides!

#JavaForBeginners #JavaTutorial #LearnToCode #SelfStudyTutorials #WindowsCMD


Nesta página do site você pode assistir ao vídeo on-line How to Compile and Run First Java Program (CMD & Notepad) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Self Study Tutorials 15 Janeiro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 362 vezes e gostou 7 espectadores. Boa visualização!