Meaningless Drivel is fun!*
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
Author

packaging

Ramm Kummar
Greenhorn

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
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Try this:
 
 
subject: packaging