notepad++ running Java program methods mainly have the following two:
- Run through plug-in nppexec (self-Baidu "notepad++ run Java")
- Execute the Java program by running a call to CMD compilation (explained in detail below)
- Click Run on the toolbar above and then left click to run (or press F5)
- Enter cmd/k Javac "$ (Full_current_path)" In the Run Window & Echo compile successfully! & PAUSE & EXIT
- Then click Save to enter a name, and you can create a shortcut key. Click OK after completion
- Repeat the above steps to increase the way you run Java
- In the Run window, enter cmd/k JAVA-CP "$ (current_directory)" "$ (name_part)" & PAUSE & EXIT
- Then click Save to enter a name, and you can create a shortcut key. Click OK after completion
- You can then use to compile Java and execute Java, you can directly use the shortcut keys of the settings or as shown in the click
notepad++ running Java programs via cmd