简体   繁体   中英

Setting up a new project, intellij IDEA from compiled class files

I am new to intellij IDEA, can some one give me any suggestions in creating a new project from already existing compiled class files?

FYI: I created an empty project, copied my class files in the out/production/ and then when creating a run configuration, i could not point to my main class.

Any ideas would be grateful.

You can't create a Project with just compiled classes, it doesn't make sense. IDEA wants the source code for the main class to run it, because when you think "run" Idea thinks "compile, then run".

If you just want to run the program, then you don't need IDEA at all for that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM