The Artima Developer Community
Sponsored Link

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

Must be some classpath setting problem

Posted by Kishori Sharan on March 06, 2001 at 11:08 AM

Hi
I don't any problem with your program. It should work file. The only thing I can suggest you that when you are running the LibTest class then change your current working directory to the folder you have placed the LibTest class and also include curent directory ( a dot ) in your CLASSPATH. So a part of you classpath will look like
SET CLASSPATH=.;C:\michael\temp;rest_of_your_folder_list

If you have placed LibTest class in c:\michael then your DOS-PROMPT will look like
C:\michael>java LibTest
and your program should run fine.

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