![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> hello sir, > i am beginner of java. > For running java code we set path path=%path%;c:/jdk1.3/bin; > but for running java servlet(jsdk) we want to set classpath. > i confused. > > We set classpath variable to guide Class Loader for where from to load the classes. I do not know for sure ki why we do not set classpath for JDK. I think because there is some entry in the registry. Maybe if u come to know pls inform me We set the class path for Jsdk because servlet development requires classes like javax.servlet.*; and more packages. Now these packages and classes are packed in Server.jar and Servlet.jar. So u need to put these jar files in class path so that the class loader can locate these classes.. I hope this satisfies u. Replies:
|
Sponsored Links
|