I have a Eclipse project, which got the following error message after running
The "classpath" setting in "run configurations" is shown as follows
The "build path" setting is shown as follows:
It seems to me that you're using System JRE instead of JDK.
From the "Libraries" tab, select "JRE System Library [JavaSE-1.7] > choose Edit > then from popup window > Execution Environment choose JDK environment, eg JavaSE-1.6 (jdk1.6.0_32)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.