How to open a Java program in the editor

Source: Internet
Author: User

We all know running Java files, we can run our written Java files from the software console, or we can run from the Windows window, the first thing we touch is through windows window to run the Java file, here's a quick introduction to how to open a Java program in the editor.

1. First locate the disk where the document is located.
such as (D:)

2. Find the exact location of the document with the CD: followed by the path to the document-specific disk.

such as (Cd:d:\java)

3. Add "Javac", the document will automatically generate "Wlx.class", only need to follow the document name

such as (Javac Wlx.java)

4. Finally enter a specific name for the document (note: Do not add suffixes after wlx. Java).

such as (Java WLX)

Attention:

* The document name must match the name that follows the class

such as (Wlx.java and Class Wlx, "WLX" name consistent)

How to open a Java program in the editor

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.