How do I change a Java project's bin folder in Eclipse?

后端 未结 5 1677
庸人自扰
庸人自扰 2020-12-03 16:35

When you have a Java project in Eclipse, how do you change the location where the class files are placed? The bin directory is the default location.

5条回答
  •  悲哀的现实
    2020-12-03 17:05

    You can change the folder name from bin to something else.

    Right click on your project and select Properties. And then click on Java Build Path. On the right side you can see the tabs Source, Projects, Libraries,...

    Click on Source. Check the Default output folder:. There you can browse and select the different folder you want.

    But you cannot change the directory. For example if your project is in D: drive you cannot keep the output folder in C: drive.

提交回复
热议问题