PHP中文网2017-04-18 10:44:58
1. Use the jre that runs myeclipse
2. Specify the jre of the project
3. Use the default jre in the myeclipse configuration
Assume that your computer has three versions of jre installed: 1.6, 1.7, and 1.8, then you can use 1.8 To run myeclipse, set 1.7 as your default jre, and then because of the particularity of the project, you need to select 1.6 as the jre for running the project, so these three configurations will be useful.
伊谢尔伦2017-04-18 10:44:58
It is recommended to choose JDK instead of jre in myeclipse, because if you want to debug source code, jre cannot be decompiled.
In project development, I often encounter supernatural events, that is, jre packages will conflict with third-party packages. Just use jdk.