如何在Eclipse中更改Java项目的bin文件夹? [英] How do I change a Java project's bin folder in Eclipse?

查看:170
本文介绍了如何在Eclipse中更改Java项目的bin文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您在Eclipse中有一个Java项目时,如何更改放置类文件的位置? bin目录是默认位置。

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.

推荐答案

您可以将文件夹名称从bin更改为其他名称。

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

右键单击您的项目,然后选择属性
,然后单击 Java构建路径
在右侧,您可以看到选项卡项目,...

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.

但是您不能更改目录。例如,如果您的项目在D:驱动器中,则无法将输出文件夹保留在C:驱动器中。

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

这篇关于如何在Eclipse中更改Java项目的bin文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆