Write code:
1, clear demand.
2, analysis of ideas.
3, determine the steps.
4, code implementation.
Three technical architectures for Java:
Javaee:java Platform Enterprise Edition, the development of applications in the corporate environment, mainly for the development of web programs;
Javase:java Platform Standard Edition, complete the development of desktop applications, is the basis of the other two;
Javame:java Platform Micro Edition, the development of electronic consumer products and embedded devices, such as mobile phone programs;
1,jdk:java Development Kit,java Development and operating environment, Java development tools and JRE.
2,jre:java Runtime Environment,java program run environment, Java run the required class library +JVM (Java Virtual machine).
3, configure the environment variable: Let the Java jdk\bin Directory tool, can run in any directory, because the tool is located in the directory to tell the system, when using the tool, the system to help us find the specified directory.
What do javac commands and Java commands do?
You know that Java is divided into two parts: one is compile, one is run.
Javac: is responsible for the compilation of the part, when the execution of Javac, will start the Java compiler program. Compiles a. java file with the specified extension. Generates bytecode files that the JVM can recognize. This is the class file, which is Java's running program.
Java: The part that is responsible for running. The JVM is started. Loads the class library that is required by the runtime and executes it on a class file.
A file to be executed must have a starting point for execution, and this starting point is the main function.
Java Basics Overview