Home>Article>Development Tools> How to compile and run Java with Notepad++
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!
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...
##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)"For more notepad technical articles, please visit the
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!