Auto jar detection