Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting classpath ...urgent  RSS feed

 
Sonu Nandu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
I have downloaded j2sdk1.4.2_02, i would like to know how to set the path in windows XP.
Do i need to set the path both in the environmnet variable, and in the autoexec.bat.
what is the diff between setting the path and classpath. and how to set them
Thanks in advance
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37234
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sonu,
Windows XP ignores autoexec.bat. You need to set the path in the envionment variable (control panel --> system.)
The "path" is used for your computer to find javac/java. The "classpath" is used to find classes that your programs are dependent on. You won't use that at the beginning.
 
Sonu Nandu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne Boyarsky
Thank U
Sonu Nandu
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!