fixed Java binary path

on some systems CurrentJDK alias is not set properly and then the
previous path is broken