notepad++ running Java programs via cmd

Source: Internet
Author: User

notepad++ running Java program methods mainly have the following two:

    1. Run through plug-in nppexec (self-Baidu "notepad++ run Java")
    2. 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

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.