more or less, your java apps expect a particular java path with particular jdk / jre.
for developing, you have to choose which of the jdks you want to use, sometimes you use one that is not the default for your system, this could cause some issues when compiling in relase and you see things different.