Configure Jave environment variables with notepad ++ and JDK

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.