The symlink-resolving logic added to the bash launcher in https://github.com/jruby/jruby/issues/6689#issuecomment-854089011 needs to be ported here and released to address that issue. Ping @mrnoname1000 for help!