19
votes

I am using IntelliJ 14 and my machine has JDK 7 installed. However, everytime creating new project, language level is 5.

Although i can change by going to Project Settings->Project-> Project Language Level and Project Settings->Modules->[Module Name]->Sources->Language Level, it takes time to do that for every project.

Can IntelliJ auto-detect my JDK and choose correct default Language Level or there's a default setting for Language Level?

2
I am new to Stackoverflow, can someone help answer why my question is voted down to -1. When I try but cannot find the answer, it's not bad to ask for help.Khoa Bui
some people are simply like to down vote without proper reason/s and feel happy about it, just ignore these negative minds. I've upvoted as your question helped me.vikramvi
It is a reasonable question. Downvotes happen. Why (and sometimes by whom .. ) is another .. question ..WestCoastProjects

2 Answers

15
votes

Did you check IntellJ documnentation before posting here?

Is it not this what are you searching for: https://www.jetbrains.com/idea/help/configuring-global-project-and-module-sdks.html

Edit: The correct answer is File -> Other Settings -> Default Project Structure

0
votes

Update from IntelliJ IDEA 2021.2 (Community Edition)

File -> New Projects Setup -> Structure

discovered this using and the "find action" option from the help menu