简体   繁体   English

eclipse中的JDK Home路径不会改变

[英]JDK Home path in eclipse will not change

I have followed the instructions to direct eclipse to the virtual machine path of the JDK but for some reason when i clean the project and run make and deploy it shows that ant is still pointing to the jre in program files rather then the JDK specified and selected following - 我已经按照说明将eclipse定向到JDK的虚拟机路径,但是由于某些原因,当我清理项目并运行make和部署它时,它表明ant仍然指向程序文件中的jre,而不是指定和选择的JDK。正在关注-

Preferences > Java > Installed JRE's > Add... For 'JRE Type' select 'Standard VM' > Next > Directory: select your JDK directory (instead of JR) 首选项> Java>已安装的JRE's>添加...对于'JRE类型',选择'标准VM'>下一步>目录:选择您的JDK目录(而不是JR)

Is there something im missing? 我缺少什么吗? Im using windows 10 64 bit. 我正在使用Windows 10 64位。

The JRE/JDK used by Ant runs is configured in the run configuration for Ant. Ant运行所使用的JRE / JDK是在Ant的运行配置中配置的。

Look in 'Run > External Tools > External Tools Configurations...' and find your Ant build. 在“运行>外部工具>外部工具配置...”中查找并找到您的Ant版本。 Look in JRE tab for the configuration. 在“ JRE”选项卡中查找配置。

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

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