Remove java version from classpath