remove .class from java 6