Reputation: 753
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?
Upvotes: 21
Views: 11033
Reputation: 21
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
Upvotes: 0
Reputation: 481
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
Upvotes: 15