aniruddha panadare wrote:now my class is set in environment variable c:\program files\java\jdk1.5\bin;
I didn't understand this. Did you set the classpath environment variable to this or the path environment variable. You don't need to set the classpath environment variable to this directory...