On 08/03/2011 11:54 AM, siddharth srivastava wrote:
Java classpath: C:\Users\siddharth\workspace\derbytrunk\jars\sane\derby.jar;C:\ Users\siddharth\workspace\derbytrunk\jars\sane\derbytools.jar;C:\Users\siddharth \workspace\derbytrunk\jars\sane\derbyTesting.jar;C:\Users\siddharth\workspace\de rbytrunk\jars\sane\derbyrun.jar;C:\Users\siddharth\workspace\derbytrunk\jars\san e\derbynet.jar;C:\Users\siddharth\workspace\derbytrunk\jars\sane\derbyclient.jar ;C:\Users\siddharth\workspace\derbytrunk\tools\java\junit.jar;C:\Users\siddharth \workspace\derbytrunk\tools\java\jakarta-oro-2.0.8
It doesn't look like you have "." in that classpath. If the class DerbyPreparedStatement.class is the one that you got the ClassNotFoundException on, then I don't think it's in any of those jars. Try doing: set CLASSPATH=.;%CLASSPATH% and then run java DerbyPreparedStatement (this assumes that DerbyPreparedStatement.class is in your current directory). thanks, bryan