Bug Fixed - JDK update process

Before the bug fix the update process exit if the first SDK has not a newer
version available and thus does not check for the second SDK version.