In this post we will learn how to change the Java version in IntelliJ IDE.
In the IntelliJ IDE, goto menu - File > Project Structure
Then in the Project Structure screen, goto the SDKs section.
Then click on the '+' button (as shown below).
After this, in the drop down, select the desired Java version.
Most often, IntelliJ will auto detect the installed Java versions (as in the case shown below).
Click 'Apply'.
Then 'OK'
Now IntelliJ will use the newly selected Java version for your projects.
Cheers!
No comments:
Post a Comment