Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

yet again - classpath

 
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic