Fix getting jruyi.home.dir according to the current jar location