Adding utility methods to determine Java runtime version