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:

Problem in importing user defined packages

Posted by Manish Sachdev on November 19, 2001 at 8:44 AM

i am facing a problem in importing my user-defined packages. My directory structure is as follows:-


|----pkg1 (contains SUPERCLASS)
root --
|----pkg2 (contains SUBCLASS which extends SUPERCLASS in pkg1)

Now i want to run SUBCLASS being in directory or package "pkg2"

please tell me

1) What classpath i should set?
2) Tell me the Package statements for both the classes
3) Also tell me the commands to run subclass being in pkg2





Replies:

Sponsored Links



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