Home > Development Tools > notepad > How to use notepad to write java

How to use notepad to write java

藏色散人
Release: 2019-11-04 11:03:39
Original
4348 people have browsed it

How to use notepad to write java

How to use notepad to write java?

If Notepad is not installed, use Baidu to search for Notepad. It is recommended to download Notepad from Baidu Software Center and install Notepad after downloading.

Recommended: "notepad usage tutorial"

How to use notepad to write java

D:\src Create a new text file txt in the src folder of the D drive document.

How to use notepad to write java

Rename to Hello.java Click Yes in the dialog box that pops up.

How to use notepad to write java

How to use notepad to write java

How to use notepad to write java

#Right-click the newly created Hello.java file to pop up the shortcut menu, use edit with notepad Edit the Hello.java file.

How to use notepad to write java

# Write a java program named Hello in Notepad, and press Ctrl S to save it after writing.

How to use notepad to write java

D:\src In the src folder of drive D, right-click shift to pop up the shortcut menu and select "Open command window here" to open the CMD command prompt.

How to use notepad to write java

Compile javac in the command prompt, and then execute java Hello and a Hello! , indicating that the java program hello is written successfully.

How to use notepad to write java

The above are the steps for writing java programs using Notepad.

The above is the detailed content of How to use notepad to write java. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template