Home > Development Tools > notepad > body text

How to run JAVA program in notepad

(*-*)浩
Release: 2020-10-21 11:49:59
Original
16883 people have browsed it

How to run JAVA program in notepad: 1. Start notepad and open plug-in management; 2. Find the [NppExec] plug-in and click to install; 3. Open the java program and click [NppExec] and [Execute] in sequence. .

How to run JAVA program in notepad

Notepad's menu bar: Plug-in->Plugin Manager->Show Plugin Manager, check NppExec in Available, and click the Install button.

Menu bar: Plug-in->NppExec->Execute, enter the following code: (recommended learning: notepad use)

NPP_SAVE
javac.exe "$(FILE_NAME)"
java.exe "$(NAME_PART)"
Copy after login

As shown in the picture:

How to run JAVA program in notepad
Click the Sava button, name it Java Compile and Execute, click the Sava button, and click OK to close the dialog box.

Menu bar: Plug-in->NppExec, check Follow $(CURRENT_DIRECTORY).

Press F6 and the following dialog box will appear:

How to run JAVA program in notepad

Click OK or press Enter directly to start compiling and executing the program:

How to run JAVA program in notepad

The above is the detailed content of How to run JAVA program in notepad. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!