Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
java packages
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Raymond DeCampo, post: 615105"] I think perhaps you meant something else by the above statement. The package statements in the resulting class files are a function of the package statements in the java source files and do not depend on the directory structure. I think you probably meant that the resulting class files and their directory structure correspond to the package statements, making the class files "usable". Something that might help the OP here is to use the -d switch to javac, which causes the compiler to place the class files in a separate directory from the source files. I personally prefer to have the compiled classes separate from the source code and I think it would be an educational exercise in any case. If this cause additional confusion, it may be something the OP wants to try after getting things working. HTH, Ray [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
java packages
Top