I had a problem similar to those posted in April 2000 (Beginner Forum). Unfortunately, the solution went only halfway to solve the particular case I had.
The problem I had was that I was able to compile in DOS and TEXTPAD but I could only run in DOS. I knew I had to set my class path via SET CLASSPATH and that was what I was trying to do in DOS and via RUN option in Textpad. In KAWA there was an option to do the same thing so no problem.
I finally solved it by adding my source path to the rt.jar source path in the class path in my autoexec.bat, ie. SET CLASSPATH=D:\JDK1.3\RT.JAR;D:\JAVAWORK and reset my PC.
What I don't understand is why
JAVA (run) works in DOS if my classpath points to RT.JAR initially and then I just manually add the D:\JAVAWORK just as I used to do in KAWA?
[This message has been edited by James Baud (edited January 07, 2001).]
<B>~James Baud</B><P>He who asks, is a fool for five minutes;<BR>but, he who does not ask, remains a fool forever. (Chinese proverb)