DEV Community

VRaptor Code
VRaptor Code

Posted on • Edited on

[Resolved] Many places where we need to configure the JDK in IntelliJ

If you work with Java or Kotlin, you'll need to configure the JDK in IntelliJ. Below are the important points.
I use asdf, which is a version manager that allows you to install multiple languages. So let's go...

Local configuration per project

File -> project structure 

Image description

You can download the JDK through IntelliJ or point to an installer on your machine.
Each project can use different versions of the JDK, so you can work on projects that require different JDKs.

Global configuration

The JDK will be available for all projects in IntelliJ.
When you create a new project, IntelliJ may ask for this JDK as the default.

Image description

Extras

Configure in Maven.

File -> Settings -> Build, Execution, Deployment -> Build Tools -> Maven

Image description

Configure in Gradle.

Image description

Well, that's it for today. Don't forget to leave a comment on what you think.

Top comments (0)