简体   繁体   English

JRE库系统

[英]JRE library System

I want to add Jre Library System to my Project. 我想将Jre Library System添加到我的项目中。 For that I clicked the name of my project ( projet1 ), then properties ---> java build path ---> Libraries and after I add Jre system library [jre8]. 为此,我单击了项目的名称( projet1 ),然后单击属性---> Java构建路径--->库,然后单击添加Jre系统库[jre8]。

I even added the library, but it does not appear in my project. 我什至添加了该库,但是它没有出现在我的项目中。 I want to have something like this: 我想要这样的东西:

http://uploads.siteduzero.com/files/396001_397000/396174.png

In my class path I got this 在我上课的路上我得到了

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.‌​launcher.StandardVMType/JavaSE-1.7" /> 

How can I do that? 我怎样才能做到这一点?

your .classpath file must have line <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 您的.classpath文件必须具有<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>

Open navigator view and check .classpath file contents 打开导航器视图并检查.classpath文件的内容

If you are using another jdk ... u should see JRE NAME you added instead of JRE_CONTAINER 如果您使用的是其他jdk,则...您应该看到您添加的JRE NAME,而不是JRE_CONTAINER

like 喜欢

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_27"/>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM