aspose file tools
The moose likes Beginning Java and the fly likes packaging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "packaging" Watch "packaging" New topic


Ramm Kummar

Joined: Feb 10, 2009
Posts: 26
How to import a class from other package in to the current java class of the different directory. The two directories are linked to the same same directory.

i.e. Directory A and B are subdirectories of C which is again sub-directory of the D.
if the classes in B are packaged using package D.C.B;, how to call this package classes in the A directory?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 41070
Try this:
I agree. Here's the link:
subject: packaging