• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Very new to this, could use some help

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am just starting with the head first java book and do not know how to establish the path in dos prompt. could someone help me.
 
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch

Well done asking about PATH. If you don't have a CLASSPATH already set, you don't need a CLASSPATH. You very definitely do need a PATH however.
Here are the installation instructions for Windows.
Ignore anything about "optional" and look on this as compulsory In section 4 look where it says "set PATH permanently". The PATH entries are separated by ; semicolons and begin with the drive letter (usually C) and end with bin. The example they quote (C:\Program Files\Java\jdk1.6.0_<version>\bin) would appear as C:\Program Files\Java\jdk1.6.0_16\bin for the most recent update. This presumes you have allowed the Java installer to install Java in its default location.
Remember to open a new command prompt before the PATH becomes operational.
 
carl carman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your help. This should do it.
-Carl
 
Campbell Ritchie
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome I presume it worked?No, you have not added "only necessary classes"; you have added the Java installation folder, which is unnecessary.
 
carl carman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It worked yes. Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic