Product1
and Product2
.Click
Window > Open Perspective > Other... > Java
to change to the Java perspective.
Click
File > New > Other... > Java Project
to open the New Java Project wizard.
Type "Product1" in the Project name field. Click Next.
On the next page, Select "Product1" source folder.
Click Link Additional Source to Project button in view bar.
In Link Additional Source click Browse.... and choose the D:\Product1\JavaSourceFiles
directory.
Click OK in confirmation dialog to have "/Product1/bin" as default output folder.
Your project source setup now looks as follows:
Click Finish.
Repeat these steps for "Product2".
You now have two Java projects which respectively contain the sources of "Product1" and "Product2".
Working with build paths
Creating a new Java project
Creating a Java project with source folders
Creating a new source folder
Using the Package Explorer