how to change java path for maven - Stack Overflow: "
1
down vote
You will need both Java JDK and JRE.
${java.home} specifies the path to the current JRE_HOME environment use with relative paths to get for example: ${java.home}../bin/java.exe
And with a JDK for example in c:\jdk the maven ${java.home} is pointing to c:\jdk\jre"
'via Blog this'