notepad++ Compiling and running Java

Source: Internet
Author: User

First of all, let notepad++ compile and run Java, if the computer is already configured in the Java environment (here can refer to my blog about the Java environment configuration of the essay).

Locate the plugin in the options bar above notepad++--->plugin Manager--->show Plugin Manager

Then in the pop-up display plug-in window nppexec This plug-in, and then click Install (because I have been installed here so did not show this plugin out);

If the display fails to install, click on the "?" button on the right side of the selection bar above. "Get plugin", download nppexec plugin on official website. In the downloaded Tarball, unzip the. dll file for the folder inside to the plugins in the notepad++ folder:

After installation, you can see this in notepad++: First let notepad++ compile and run Java, if the computer is already configured in the Java environment (here can refer to my blog about the Java environment configuration of the essay).

Locate the plugin in the options bar above notepad++--->plugin Manager--->show Plugin Manager

Then in the pop-up display plug-in window nppexec This plug-in, and then click Install (because I have been installed here so did not show this plugin out);

If the display fails to install, click on the "?" button on the right side of the selection bar above. "Get plugin", download nppexec plugin on official website. In the downloaded Tarball, unzip the. dll file for the folder inside to the plugins in the notepad++ folder:

After installation, you can see the following in the notepad++:

Click Execute (F6), enter the following command parameters in the following text field:

Npp_save
CD "$ (current_direction)"
C:\Java\jdk1.5.0_14\bin\javac.exe "$ (Full_current_path)"
C:\JAVA\JDK1.5.0_14\BIN\JAVA.EXE-CP "$ (current_directory)" "$ (Name_part)

Please modify the above JDK path yourself

Click Save to start the name of the compiled command, and finally OK. Choose good Java in the language, and then edit your own code in the Text field, press F6 shortcut key, click OK, the console appears the result of the code run, the configuration is successful.

notepad++ Compiling and running Java

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.