![](/img/trans.png)
[英]IntelliJ IDEA: how to make the java bytecode files (.class) compiled from the source files (.java) be in the same directory as the source files?
[英]Setting up a new project, intellij IDEA from compiled class files
我是intellij IDEA的新手,有人可以從現有的編譯類文件中創建一個新項目嗎?
僅供參考:我創建了一個空項目,在out / production /中復制了我的類文件,然后在創建運行配置時,我無法指向我的主類。
任何想法都會感激不盡。
您不能使用已編譯的類創建項目,它沒有意義。 IDEA希望主類的源代碼能夠運行它,因為當您認為“運行”時,Idea會認為“編譯,然后運行”。
如果您只想運行該程序,那么您根本不需要IDEA。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.