Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have faced with a problem after I have changed the jdk version in intellij idea.

In my pom file I have next properties:

<source-jdk>1.8</source-jdk>
<target-jdk>1.8</target-jdk> 

And when maven is starting build project - at console showing the correct version of jdk - 1.8: C:Program FilesJavajdk1.8.0_131injava

But when I am trying to start project the console showing the previous version of jdk: C:Program FilesJavajdk1.7.0_79injava

Can anybody help me with this problem ?

I think that this is produce issue for me that i am not able to start the project.

THE PROBLEM RESOLVED see my own answer below

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
397 views
Welcome To Ask or Share your Answers For Others

1 Answer

The problem was hiding inside "Edit configuration". You can choose jre version there.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...