Auto detection of JRI.jar