假如jdk安装目录为D:\Program Files\Java\jdk1.7.0_17
则要设置以下3个环境变量:
java_home D:\Program Files\Java\jdk1.7.0_17
path D:\Program Files\Java\jdk1.7.0_17\bin
classpath .;D:\Program Files\Java\jdk1.7.0_17\lib\tools.jar
假如jdk安装目录为D:\Program Files\Java\jdk1.7.0_17
则要设置以下3个环境变量:
java_home D:\Program Files\Java\jdk1.7.0_17
path D:\Program Files\Java\jdk1.7.0_17\bin
classpath .;D:\Program Files\Java\jdk1.7.0_17\lib\tools.jar