IDEA change jdk version Steps Recorder

Disclaimer: This article is a blogger original article, reproduced, please note, thanks. https://blog.csdn.net/chenglinlin526/article/details/78092700

Change version jdk general steps:

1, change the jdk version under maven package, find the profile setting maven installation directory (for example: D: \ program files \ apace-maven-3.1.0 \ conf \ setting.xml), to which the change jdk required version

2. Switch to the idea, click setting ----> Search input "maven" find Runner ----> the JRE option to switch to the version of jdk

3、Idea----》Setting ----》Compiler ----》Java Compiler----》切换jdk

4, Idea ---- "project structure ----" project ---- "Switch to project sdk, while switching the project language level

5, Idea ---- "project structure ----" modules ---- "Click to replace modules jdk's ----" Switch language level under the sources ---- "while switching module sdk under Dependencies

 

After running the project, everything is normal, changes have been made to this version Jdk

 

Guess you like

Origin blog.csdn.net/chenglinlin526/article/details/78092700