java language development environment

1, Java EE 和 Java SE

Java SE (Java Platform Standard Edition) Standard Edition: java-based content is the main stage of learning, the technology is the core technology of java, for small development projects.

Java EE (Java Platform Enterprise Edition) Enterprise Edition: In order to develop applications in an enterprise environment to provide a solution. The technology system included techniques such as Servlet Jsp, etc., aimed at Web application development (large projects).

2, Java language development kit

JDK (Java Development Kit Development): contains JAVA runtime environment (JVM + Java system class library) and JAVA tools.

JRE (Java Runtime Environment Java Runtime Environment): contains the java virtual machine, java base class library.

JVM (Java virtual machine Java Virtual Machine): to achieve the core cross-platform, different platforms have different jvm, jvm able to identify bytecode files (.class source files generated by the compiler bytecode file).

3, JDK use

 

 javac (compiler): compile java files

 java: compile the class file

4, cmd window shortcuts

windows + R: Open cmd

d :: into the disc D

cd + Folder name: enter the folder

cd \: retreat into the root directory

cd ..: one folder on retreat

dir: display all the contents of the current directory

cls: clear screen

 

5, eclipse shortcuts

Automatically filled main method: main + alt + /

Automatically filled output statement: syso + alt + /

Format: Right-code area ---- Source ----- Format

Package guide: ctrl + shift + O

Comment:

Single line: Add: ctrl + / Cancel: ctrl + /

Multiline: Add: ctrl + shift + / canceled: ctrl + shift + \

 

Guess you like

Origin www.cnblogs.com/zhai1997/p/11256862.html