lowered minimal java version to 1.6