Use relative symlinks and correctly overwrite bad symlinks for custom java installs