[NUCCORE-1134] Fix toString() method, minor update to equals() and use
current JRE version as default for java version