Skip to main content

how to create folder run time while creating a package?

1 reply [Last post]
Joined: 2010-07-09
Points: 0

Hi to all,

I am student of MCA and i have one query regarding the packages.
I want to create 5 packages but in that i have to create the folders for that packages manually but i know that it can also possible to create the folders for the packages at run time by using the -d or cp through the command line(cmd).

If anybody have idea regarding that please kindly help me or suggest me some reference books regarding that particular topic.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-08-17
Points: 0

The directories for compiled .class files are automatically generated as part of the compilation process. The -d option specifies the root destination directory and the package subdirectories are created under this directory. The directories for your .Java source code files are typically manually generated or created by the IDE.