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 Files\Java\jdk1.8.0_131\bin\java
But when I am trying to start project the console showing the previous version of jdk: C:\Program Files\Java\jdk1.7.0_79\bin\java
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