Develop simple Java programs with EditPlus

Source: Internet
Author: User

First, install the EditPlus, do the basic operation

1. Create a new Helloword.java file

class   {    publicstaticvoid  main (string[] args)     {        System.out.println ("Hello world!" );    }}

With EditPlus new Java file No class name, you need to add the class name (the first letter of the class name must be capitalized), and save.

class Demo {    publicstaticvoid  main (string[] args)     {        System.out.println ("Hello world!" );    }}

Second, in EditPlus configuration Javac, Java

tools-"preferences-" tools-"User Tools"

Third, the new Helloword.java program

Compile

The compilation succeeds, and the Helloword.class file is displayed later

Run

Iv. setting up the relevant format of the Java file

1. Normally, after creating a new file, a backup file (_bak) will be generated, the √ removed and no longer generated

2. New Java file curly braces are located as follows

Format modification:

Modify settings for method {}

Develop simple Java programs with EditPlus

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.