No option to run simple Java console application after importing a project from Github

Answered

Hello,

I worked at an computer in the university on an Project which consists only on Java Classes with its own main for console application. I imported this project from an Eclipse project to IntelliJ IDEA and pushed it to Github.

At home I started a new project in IntelliJ with cloning this project from Github.

But there is no possibility to run this project, in the university I could compile and run a file with a right click to start the context menu and clicking on ' Run filename'.

When I click on 'Edit configurations' there is no configuration for simple Java Console Applications (which I found when I start a new project).

How can I get this configuration for my Project from Github?

 

0
2 comments
Avatar
Permanently deleted user

Your first link did it. 

I changed Project SDK to SDK default, and added a directory for the Compiler Output.

The main step was to mark the 'src' folder as Source.

Now I can work as usual.

Thank you so much!

0

Please sign in to leave a comment.