Dave Tolls wrote:Java maps package names to folders.
So package foo.bar will be in a folder on the classpath called foo/bar.
This also means that, when executing or compiling, the classpath should include the root directory (or directories, since there may be more than one) for your packages.
In your case that root would be the Head-first-java-master folder.
It wasn't my idea to go to some crazy nightclub in the middle of nowhere. I just wanted to stay home and cuddle with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|