The jre that the program runs on is 1.7, but the jdk specified for compilation is 1.6. Now I want to locate a problem and trace it to the jdk source code. I have to look at the corresponding implementation. But are there any changes in the 1.6 and 1.7 implementations? So which version should I watch?
欧阳克2017-07-03 11:45:31
The compilation is 1.6, which means the class file is version 1.6. When running, the virtual machine executes the class file, so you should look at the source code of 1.6
phpcn_u15822017-07-03 11:45:31
Java will not package jdk after it is packaged. For online problems, please contact the online jre.