Reputation: 3
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.
Upvotes: 0
Views: 305
Reputation: 73558
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.
Upvotes: 2