1. Procedures
What is a program: a collection of ordered instructions written to allow a computer to perform certain operations or solve a problem.
2.Java Platform Technology
1) Java SE Standard Edition
2) Java EE Enterprise Edition
3) Java ME Mobile
3. Steps to develop Java programs
1) Writing the source program
2) compiling the source program
3) Run
4. Configuring the JDK environment variables
1) in the system variable--"Create a variable
Variable name: java_home
Variable value: Is your installation JDK path
2) Find the variable of path in the system variable
Variable name: Unchanged
Variable value: Front:%java_home%\bin;
3) Create a variable in the system variable--"
Variable name: classpath
Variable value:.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar;
5. Program framework, output instructions
public class class Name {
public static void M,ain (string[] args) {
SYSTEM.OUT.PRINTLN ("Your input content"); Input content
}
}
6. Escape Attachment (note: Always put in double quotes)
1) \ n line break
2) \ t tab (empty 8 cells)
7. Creating Java program steps with development tools
1) Create a Java project
2) Writing the source program
3) Compiling
4) Run
Java lesson One, first knowledge of Java