manage java symlink