user1403483
user1403483

Reputation:

Fixing 'PATH' in Environment Variables in Windows 7 for multiple applications

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?

Upvotes: 15

Views: 44610

Answers (1)

toniedzwiedz
toniedzwiedz

Reputation: 18563

Separate the paths to Ruby and Java with your system's path separator character.

In case of Windows 7, it's

;

You'll be able to use both

Here's an example of Path variable with numerous applications.

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\

Upvotes: 44

Related Questions