简体   繁体   中英

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 -

Preferences > Java > Installed JRE's > Add... For 'JRE Type' select 'Standard VM' > Next > Directory: select your JDK directory (instead of JR)

Is there something im missing? Im using windows 10 64 bit.

The JRE/JDK used by Ant runs is configured in the run configuration for Ant.

Look in 'Run > External Tools > External Tools Configurations...' and find your Ant build. Look in JRE tab for the configuration.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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