The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

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:

Reply for your question

Posted by Srinivas on May 06, 2001 at 3:10 AM

Hi sandeep,

We set classpath for informing the class loader where exactly all the supporting files which u have imported are available for compiling an executing it. In case of JDK, all the basic files are available in a single path which is a default one and so u don't need to set it.

if u have to set the classpath for servlets

in case of java webserver-:

set CLASSPATH=.;:\\lib\servlet.jar

in case of jsdk-:

set CLASSPATH=.;:\\lib\jsdk.jar

drive and directory is the place where u have loaded u r software

bye





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us