Properly regenerate jar