F****n 发帖数: 3271 | 1 set environment variable JAVA_HOME | B**z 发帖数: 153 | 2 user might no have JAVA_HOME set,
better go to registry to find settings at
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
【在 F****n 的大作中提到】 : set environment variable JAVA_HOME
| m******t 发帖数: 2416 | 3 In this particular case, I think JAVA_HOME is a better idea because
it has become a de facto standard variable for all the java applications.
Secondly, it allows for a user to switch between different JDK installations.
【在 B**z 的大作中提到】 : user might no have JAVA_HOME set, : better go to registry to find settings at : HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
| F****n 发帖数: 3271 | 4 If you are talking about Windows, every user has a user profile, which
includes the environment he uses. If one "no have" JAVA_HOME set, but he can
even open registry, that's ridiculous.
?
【在 B**z 的大作中提到】 : user might no have JAVA_HOME set, : better go to registry to find settings at : HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
|
|