File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

yet again - classpath

 
Paul Keohan
Ranch Hand
Posts: 411
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am so utterly fed up having to ask classpath questions (due to my own memory loss or stupidity)but here I go again. On an NT machine, if I change the classpath settings under Control Panel->System->Environment, does this change it for everything? If I then got to my dos prompt can I assume that the classpath update is now included here? How do I look up classpath from the dos prompt and see all those same settings I see under the Control Panel?
Thanks
Paul
 
Tom Ben
Ranch Hand
Posts: 109
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Keohan:
I am so utterly fed up having to ask classpath questions (due to my own memory loss or stupidity)but here I go again. On an NT machine, if I change the classpath settings under Control Panel->System->Environment, does this change it for everything? If I then got to my dos prompt can I assume that the classpath update is now included here? How do I look up classpath from the dos prompt and see all those same settings I see under the Control Panel?
Thanks
Paul


Once you set any Enviroment Variables in Control Panel->System->Environment just go to a dos prompt and type set this will show you all Enviroment Variables or just type echo %name% That will take care of it.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if I change the classpath settings under Control Panel->System->Environment, does this change it for everything?
In my experience, yes - more or less. If you had a dos prompt open before you adjusted the environment variable, the command prompt instance doesn't recognize the new setting - you have to close it and open a new one.
How do I look up classpath from the dos prompt and see all those same settings I see under the Control Panel?
As suggested, or you could type set classpath without actually specifying a new value and just press enter.
Good Luck.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am so utterly fed up having to ask classpath questions (due to my own memory loss or stupidity)but here I go again.
Don't be too surprised or disappointed if this isn't the last time that you have a question about the classpath setting.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic