home › Forums › # Technical Support › Problems with Ant build on OS X using Java 1.6.0_65 › Reply To: Problems with Ant build on OS X using Java 1.6.0_65
Thank you very much for your kind words and feedback.
The problem you are having compiling the library is due to the Java version that you are using. The “diamond” operator <> is a feature of Java 1.7, and it only means that the compiler is able to determine its type. I feel I made the wrong decision taking advantage of such a feature due to the lack of backward compatibility. Hence, for jfuzzylite version 2.0, I will make sure it is compatible for older versions of Java. I will aim to release version 2.0 by the end of March.
In the meantime, if you have access to Java 1.7, you can build a JAR file for previous versions specifying the target in the command line using the option -jo=”-source 1.7 -target 1.6″. I am not sure about the exact details, but a Google search would surely point you in the right direction.