modifed configurations for java6 compatability