Java 6 APT auto detection