In the “create a Java project” wizard. For the “project layout”, there are two choices: 1) use project folder as root for sources and class files. 2) Create separate folders for source and class files Which one should I choose? For the “Working set” Whether I need to check the “Add project to working set”? What does it mean?
I always choose Create separate folders for source and class files, it's just separate your src files and your output files
The one you choose is up to you. It doesn't matter one way or another, at least as far as your tools are concerned.
The first option means that all files will be in the root directory of the project (typically PATH_TO_WORKSPACE/projectName
). Your .java
and .class
files will be here if you choose that option. The second option will create PATH_TO_WORKSPACE/projectName/bin
and PATH_TO_WORKSPACE/projectName/src
. Your source files will be in /src
and your compiled files will be put into /bin
.
My personal preference is to not use the project folder as the root for sources and class files and to create separate folders for source and class files. However, it's all up to you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With