Eclipse没有检测到已安装的java

Yat*_*oel 6 java eclipse

我先安装了Eclipse Galileo,然后安装了Java.

但它没有检测到我的java.

我可以进行哪些配置更改,以便Eclipse可以运行我的java程序?

==========================编辑======================= =========

http://i49.tinypic.com/4iyf0w.jpg

Von*_*onC 6

您可以通过以下方式指定要使用的确切jvm:

启动后,您可以在Installed JRE首选项面板中引用所需的JVM

alt text http://img168.imageshack.us/img168/3307/eclipseinstalledjre2.png

最后,您需要在Libraries选项卡中,在Java Build PathJava项目的属性中引用所需的JVM (正如Steve在他的回答中所提到的):

alt text http://img52.imageshack.us/img52/5947/eclipseinstalledjre3.png