After using JDK if I use ruby, I have to change 'PATH' in Environment Variables in Windows7. Is there a work around where I don't have to keep changing it even if I use multiple applications?
使用JDK(如果使用ruby)之后,我必须更改Windows7中的环境变量中的“路径”。是否有一种工作,即使我使用多个应用程序,我也不需要不断地改变它?
1 个解决方案
#1
43
Separate the paths to Ruby and Java with your system's path separator character.
用系统的路径分隔符分隔到Ruby和Java的路径。
In case of Windows 7, it's
对于Windows 7,它是
;
You'll be able to use both
你可以两者都用
Here's an example of Path variable with numerous applications.
这是一个有许多应用程序的Path变量示例。
C:\Program Files\TortoiseHg\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
#1
43
Separate the paths to Ruby and Java with your system's path separator character.
用系统的路径分隔符分隔到Ruby和Java的路径。
In case of Windows 7, it's
对于Windows 7,它是
;
You'll be able to use both
你可以两者都用
Here's an example of Path variable with numerous applications.
这是一个有许多应用程序的Path变量示例。
C:\Program Files\TortoiseHg\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\