java7 changed the check (no more TM in name)