Fix java install to us ln -f to prevent warning message.