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

Categories

0 votes
410 views
in Technique[技术] by (71.8m points)

java - Problems with changing jdk version

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

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

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...