Home>Article>Development Tools> How to compile and run Java with Notepad++

How to compile and run Java with Notepad++

藏色散人
藏色散人 forward
2020-05-13 16:10:14 4119browse

The following tutorial column ofnotepadwill introduce to you how to compile and run Java in Notepad. I hope it will be helpful to friends in need!

How to compile and run Java with Notepad++

Notepad Compile and run Java

1. Install Notepad.

2. Install the plug-in.

Notepad's menu bar: Plug-in -> Plug-in Management -> Available, check NppExec and click "Install".

3. Add compilation and execution commands.

After installing NppExec, click Plug-in-> NppExec-> Execute...

How to compile and run Java with Notepad++

##Enter the compile execution code in the window below, click OK save, then press F6 to execute Java code.

NPP_SAVE javac -encoding UTF-8 "$(FULL_CURRENT_PATH)" java -cp "$(CURRENT_DIRECTORY)" "$(NAME_PART)"

How to compile and run Java with Notepad++

For more notepad technical articles, please visit the

notepadusage tutorial column!

The above is the detailed content of How to compile and run Java with Notepad++. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete