Since the path to servlet.jar has spaces in it, you need to put quotes around the path name in your CLASSPATH variable. In otherwords,
you should have
I think this will fix your problem.
Also, does your e1.java file have a package declaration? My guess is that you have something like "package com.eg.web;" at the beginning of this file. If so, then you should only change to the "c:\..\desktop\java\project1\src\" directory when you compile with javac. From there you will need to specify the rest of the path to get to the file. This will ensure that the compiler can find any other classes in the same package (or other packages) that start from this src folder.
Layne
[ January 18, 2006: Message edited by: Layne Lund ]
[ January 18, 2006: Message edited by: Layne Lund ]