Java 1.6 syntax supported + crashes avoiding for mac os x