"Kuldeep withDreams", please check your private messages. You can see them by clicking
My Private Messages.
Yong: I'm not sure how this works on Windows (I use Linux most of the time), but yes, probably it's repeated because you put it in the User as well as in the System variables. You only need to put it in one of those two places (User if you want it for your login only, or System if you want to set it for all people who might use your computer).
CLASSPATH tells Java where to look for class files. Normally, with newer Java versions, you don't need to set it; Java will look for class files in the current directory if it's not set. You can also specify the classpath on the command line instead of as an environment variable, for example:
java -classpath C:\myproject\classes org.mypackage.MyMainClass For more info, see this in our FAQ:
How to set the classpath [ April 22, 2008: Message edited by: Jesper Young ]