my dog learned polymorphism*
The moose likes Servlets and the fly likes Couldn't compile the servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Couldn Watch "Couldn New topic
Author

Couldn't compile the servlets

Ronyn Woods
Greenhorn

Joined: May 16, 2001
Posts: 27
I use Jdk1.2.2, and copy the servlet.jar to jdk1.2.2\lib,
and then set the classpath,
c:\>set classpath=.;c:\jdk1.2.2\lib,
then, i couldn't compile the servlets,
Plz tell me howto, and thank for your help
vik nuckchady
Greenhorn

Joined: Apr 25, 2001
Posts: 25
why do you have a , after the set classpath statement ?
Ronyn Woods
Greenhorn

Joined: May 16, 2001
Posts: 27
It's typing error.
I just enter:
c:\>set classpath=.;c:\jdk1.2.2\lib
Bhanu manne
Greenhorn

Joined: Apr 02, 2001
Posts: 8
Hey
If i am not wrong you should set the class path pointing to the jar file not just to the directory.
so set classpath as classpath=c:\jdk1.2.2\lib\servlet.jar
you set it up to the directory in case of a package.
Hope it works
bhanu
Ronyn Woods
Greenhorn

Joined: May 16, 2001
Posts: 27
Oh! yes
It should point to the servlet.jar file clearly.
 
Don't get me started about those stupid light bulbs.
 
subject: Couldn't compile the servlets