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