Relations jdk, jre, jvm's
JAVA JDK is the core, including the JRE (JAVA virtual environment), compilers, JDK mainstream products developed by SUN, JDK itself is written in JAVA, is the JDK installation package SRC.ZIP source
JVM (JAVA virtual machine) is a virtual computer can run JAVA code, the main task is to JAVA byte code compiled into machine instructions specific computer, a JAVA implementation, "run, run everywhere" key
JRE are JAVA runtime environment, comprising the JVM, JAVA platform core classes and supporting files, if you just run the JAVA program, you can download the JRE on it, if you want to develop, then we would lower the JDK.
JAVA run sequence, to write JAVA program block, then the JDK compiler JAVA byte code to generate compiled into class file, and then run through the JVM
Code execution order of the eclipse
Some shortcuts eclipse
- main printing and quick way: alt + / can be prompted to auto-complete
- Select multiple rows do not have to copy down: Ctrl + lower
- Ctrl + F11 to run the program