简体   繁体   中英

Using java jre6 instead of jre7 in windows 7

i need to use jre6 instead of jre7 for the sikuli-ide in windows7.

I set the JAVA-HOME to: C:\\Programme\\Java\\jdk1.6.0_31

My path looks like: 在此输入图像描述

when I type java -version in the cmd it says that the current version is still 1.7

How can I switch between the two java versions? (I don't want to remove the version 1.7 from my system)

将Java6的条目放在Path变量的最开头

Go to environment variables in Advanced settings, look for System variable name PATH. Remove Java 7 entry and add 1.6 (till bin) there.

确保您的PATH变量包含C:\\Programme\\Java\\jdk1.6.0_31而不是java 7。

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