added trace for java version