How to Install Java repository in IntelliJ IDEA - grigory-lobkov/java1 GitHub Wiki

To install this repository, open it as a new project

Check out from VCS

Type the url of desired project, ex."https://github.com/grigory-lobkov/java1.git" and press "Clone"

Type the repository URL

Open "File" -> "Project Structure..."

Project Structure menu

Choose your version of SDK

Version of SDK

Specify the project output

Project Output

Go to "Modules", "Sources" and mark the "src" folder as "Source" type. Press "OK".

Mark src folder as Sources

Open folder structure, choose the desired module, right-click on it, choose "Run"

Choose the desired module, Run it

If you will see message like this, choose "Cancel"

Add file to Git, Cancel it