AdSense

網頁

2019/4/21

Eclipse Java 專案的bin目錄

在Eclipse中建立一個簡單的Java Application專案,在workspace的該專案目錄下會有一個bin的資料夾,此資料夾用來存放src中Java原始碼所編譯後的class檔。

如果要修改class檔的輸出位置,可以在Eclipse專案上按滑鼠右鍵 -> Build Path -> Configure Build Path... -> Java Build Path,點選[Source]頁籤,在下面的[Default output folder]可以更改class檔案的輸出路徑。

引述Eclipse的說明文件:

At the bottom of this(Source tab) page, the Default output folder field allows you to enter a path to a folder path where the compilation output for this project will reside. The default output is used for source folders that do not specify an own output folder. Use Browse to select an existing location from the current project.


參考:

沒有留言:

AdSense