我想将Jre库系统添加到我的项目中。为此,我单击了我的项目的名称(projet1),然后是属性--> java构建路径-->库,以及在我添加jre8系统库之后。
我甚至添加了库,但它没有出现在我的项目中。我想要这样的东西:

在我上课的路上我得到了这个
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7" /> ,我该怎么做?
发布于 2014-08-21 09:29:38
您的.classpath文件必须有行<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
打开导航器视图并检查.classpath文件内容
如果你在使用另一个jdk ..。您应该看到您添加的JRE名称而不是JRE_CONTAINER。
喜欢
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_27"/>https://stackoverflow.com/questions/25422595
复制相似问题