0

我从名为

Rhomobile Beginner's Guide
Abhishek Nalwaya
Published Jul 2011

上面page 18说:

在您的环境变量 PATH 中添加JAVA_HOME和。JAVA_HOME/bin

要在 PATH 中添加它,请单击系统属性的高级选项卡中的环境变量。

在系统变量中选择路径并将和添加JAVA_HOMEJAVA_HOME/bin文本框,然后单击确定。

价值应该是多少?

4

2 回答 2

0

It will let you and other applications run Java tools without having to type the whole path.

I disagree about adding JAVA_HOME; I only have JAVA_HOME/bin in my PATH.

Tomcat requires that JAVA_HOME be set properly in order to operate; so do some other Java EE app servers. (I believe WebLogic needs it.)

于 2011-12-03T02:38:21.487 回答
0

The value should be the install directory for your JRE or JDK,

Browse your 'program files' folder for a java folder, should look something like:

C:\Progra~1\Java\jdk1.6.xx\

There will be a directory called bin inside it.

于 2011-12-03T02:41:25.973 回答