File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 46343
Try this:
I agree. Here's the link:
subject: packaging
It's not a secret anymore!