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 System environment variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "System environment variables" Watch "System environment variables" New topic
Author

System environment variables

Frank White
Greenhorn

Joined: Mar 01, 2008
Posts: 7
I'm new to JAVA and looking for a little help in installing it. I set the Env. Vari. to path = c rogram Files\Java\jdk1.6.0_06\bin; And it doesn't work. Can someone help??

Frank White
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Did you open a new Command Prompt after changing the system variable? Depending on the OS, you might need to reboot.

(Please note Henry's post regarding your display name.)


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Frank White
Greenhorn

Joined: Mar 01, 2008
Posts: 7
Originally posted by marc weber:
Did you open a new Command Prompt after changing the system variable? Depending on the OS, you might need to reboot.

(Please note Henry's post regarding your display name.)


I'll take care of the name thing, and thanks for your reply on my question.

I did get the envir. vari. to work, but I can't seem to get the command prompt to reconize the file and execute it. can you help?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

but I can't seem to get the command prompt to reconize the file and execute it. can you help?


would you please justify what exactly a command prompt showing , is it a error or exception . If so, post it here ..


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
K Kiran Kumar
Ranch Hand

Joined: Jan 04, 2006
Posts: 109
Hi Frank,

Instead of setting the path in environment variables, you can also use the following command to execute your file.

c:\windows>set path=%path%;c:\program Files\Java\jdk1.6.0_06\bin;

also check whether path is set properly or not. Just give

c:\windows>path

It will display all the paths....

Once you close command prompt, the path you have set here will get erased. You need to repeat the same if you open a new command prompt window.

Regards,
Kiran.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: System environment variables