Hex compatible with Java 1.4
Modification of the build process