After we run notepad ++, there will be many problems. For example, many people say that it cannot run after compilation.
Here I emphasize that notepad ++ only compiles software one by one.
However, you can install the plug-in to run it. After installing the plug-in, you also need to configure the environment variables.
The specific method is as follows:
1. install the notepad ++ software. If you do not need to download it, search for notepa ++ on the Internet. However, notepad ++ does not necessarily contain the plug-in manager. In this case, you need to go to the plug-in manager on the Internet, suffix (. DLL), and then move it to the notepad ++ plugins folder. In this way, the plug-in has plug-in Manager and the show plug-in Manager to install the plug-in nppexec.
2. After the plug-in is installed, You need to configure the environment variables. Generally, you must set the environment variables yourself.
Download JDK and install it by yourself.
Right-click my computer-properties-advanced system settings-Environment Variable-path-Edit
There is something in it. Click "new" to write the file directory you installed.
As follows, I installed it under c: \ Program Files \ Java
3. Check whether the environment variable is set successfully.
Win + R enter the CMD command
Enter Java
The installation location and version of your file are shown as follows:
It is successful.
4. Click the plug-in nppexec in Notepad ++.
Press F6,
Then you can.
5. Some people still cannot run, so your Java file name is incorrect.
Make sure the file name is consistent with the content
Configure Jave environment variables with notepad ++ and JDK