• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Path environment variable

 
Carol Murphy
village idiot
Bartender
Posts: 1203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to view the path variable in its entirety in Windows Vista? I just added the jdk\bin to my path variable, but I was unable to see the whole Path, because it is displayed in a single line text field, and it's a lot longer than that. I want to look at the whole string to see what else is there, but I don't want to do it from the edit function because I'm afraid my cat will try to help and erase it or something. Can I access the Path variable from somewhere else where I can see the whole thing at once?
 
Aj Prieto
Ranch Hand
Posts: 75
Android Chrome Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the cmd line, enter
 
Carol Murphy
village idiot
Bartender
Posts: 1203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answered my own question! The DOS command SET did the trick. On a side note, I added the jdk to the end of the path, but there is a C:\Program Files\Common Files\Microsoft Shared\Windows Live variable that comes after the jdk. Is that normal or.....?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15354
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What other directories in the PATH shouldn't matter, as long as the JDK's bin directory is also in the path. Directories in the PATH are separated by semi-colons on Windows.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic