posted 12 years ago
Is CLASSPATH environment variable set?
do a dir, are you sure the AskMe.class exists?
Why are you putting source in the Java bin (system folder)?
These classes are in one file?
Split them out into AskMe,java, SharedConstants.java and Question.java. Compile each one and ensure .class files exist.
This is what I get from a command line, running a small Java app.
Which works, no CLASSPATH, nothing.
c:\Users\osullivanw\workspace\wposStuff\bin>dir RunMe*
Volume in drive C has no label.
Volume Serial Number is 30B6-DDBB
Directory of c:\Users\osullivanw\workspace\wposStuff\bin
04/03/2012 02:23 PM 8,167 RunMeForSql.class
1 File(s) 8,167 bytes
0 Dir(s) 247,761,305,600 bytes free
Pat.