Add JAVA_OPTS to compress step