I don't think it is related to classpath. but still check these few things
1. you type correct name for the jar file. Take care for capitalization etc. The jar file name must not have any spaces in it. 2. If you have CLASSPATH environment variable set, check if it contains . in it somewhere.