Problems when opening existing project
Hi!
I'm new to java and intelliJ. But i've worked ti cLion so i'm somewhat familiar with the IDE. However, i have massive problems when opening an existing project.
So i started from scratch with a java project, added a package and some classes, ran the program and everything worked fine. Now i closed the project and tried to open it again via "open recent" but nothing works! Tried a run and it just throws me to "Edit configurations". There's no alternatives under "use class path of module", JRE is set to default and there's probably other problems. Everything under Project Structure is empty so i have to set project module manually evey time i open this project.
I this a known issue?
edit: project module isn't imported automatically either, so i have to do this manually..

Please sign in to leave a comment.
Please create a new Run/Debug configuration, you can't run the default one: https://www.jetbrains.com/help/idea/creating-and-editing-run-debug-configurations.html.
Make sure you have a project open, then configure JSDK.
I did all that, ran the code and then closed the project. I opened it up again and it won't run...everything is reset. However, this project isn't created in the default ../ideaProjects folder, which could be the answer to my problems. I created a project in the default project folder and everything works as it should. I find it hard to believe that i can't use custom project folders.
You can use any project folder. In some cases folders located under OneDrive or Dropbox or Google Drive may not work correctly.