set endpoint and jar