Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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: 41601
Try this:
Have you tried LearnNowOnline?
subject: packaging