File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Path environment variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Path environment variable" Watch "Path environment variable" New topic
Author

Path environment variable

Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1187
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

Joined: Sep 28, 2012
Posts: 72

In the cmd line, enter


Da mihi sis bubulae frustum assae, solana tuberosa in modo Gallico fricta ac quassum lactatum coagulatum crassum.
Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1187
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

Joined: Aug 16, 2005
Posts: 13881
    
  10

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Path environment variable
 
Similar Threads
"Path" Environment Variable
Problems with 2nd Class
Two versions of Java installed
Program: Change Due/Tendered
Compiler Not Found, Despite Installing JDK