The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 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:

Try it

Posted by Kishori Sharan on February 07, 2001 at 8:07 PM

You are doing it correct ,but the line you have written in autoexec.bat
set CLASSPATH = c:\JavaWebServer2.0\lib\servlet.jar;

is not taking effect. YOu may try rebooting your system. You can also try the following to print the actual classpath java is uing at runtime in a test java program
System.out.println ( System.getProperty ( "java.class.path" ) ) ;

if the above line prints the classpath you are setting in autoexec.bat then it should work.

Thanx
Kishori



Replies:

Sponsored Links



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