简体   繁体   English

对于C / C ++开发人员,在Eclipse indigo IDE中找不到已安装的jre页面

[英]Can't find installed jre page in Eclipse indigo IDE for C/C++ Developers

I am using mac lion and eclipse indigo. 我正在使用Mac Lion和Eclipse Indigo。 I am trying set it up for java development. 我正在尝试将其设置为Java开发。 I found that I need to install a separate jdk from apple and do some configurations in eclipse. 我发现我需要从Apple安装一个单独的jdk并在Eclipse中进行一些配置。 The problem is I can't find the installed jre page under Eclipse->preference->java. 问题是我在Eclipse-> preference-> java下找不到已安装的jre页面。 I am using a version of eclipse for C/C++ downloaded from the eclipse official page. 我正在使用从eclipse官方页面下载的C / C ++ eclipse版本。 I suppose that is the problem. 我想这就是问题所在。

I just downloaded and tried another version of eclipse for java and I can find this page. 我刚刚下载并尝试了Java eclipse的另一个版本,可以找到此页面。 This is odd. 这很奇怪。 I don't want keep two eclipse. 我不想保持两个月食。 Does anyone know how to find the installed jre page in the eclipse for C/C++? 有谁知道如何在C / C ++的Eclipse中找到已安装的jre页面?

Thanks in advance! 提前致谢!

The JRE and java-related pages appear in the Java edition of Eclipse. 与JRE和Java相关的页面显示在Eclipse的Java版本中。 If you downloaded the C/C++ version of Eclipse already and are happy with that, you need to install the Java modules for Eclipse within the C/C++ version. 如果您已经下载了C / C ++版本的Eclipse并对此感到满意,则需要在C / C ++版本中安装Eclipse的Java模块。 Likely, the easiest way to do that is to install the WTP module. 可能最简单的方法是安装WTP模块。

Go to Help->Install New Software... and specify the Indigo WTP update site http://download.eclipse.org/releases/indigo/ 转到“帮助”->“安装新软件...”,然后指定Indigo WTP更新站点http://download.eclipse.org/releases/indigo/

You can get more info on WTP here . 您可以在此处获取有关WTP的更多信息。

If you install the Java version you can install the C++ tools (CDT) I am sure there is a JDT for Java too but I would need to reinstall eclipse to test. 如果安装Java版本,则可以安装C ++工具(CDT),我肯定也有Java的JDT ,但是我需要重新安装eclipse进行测试。

CDT

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

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