manjaro手动安装java8

cd ~/Downloads && git clone https://aur.archlinux.org/jdk8.git

https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html?printOnly=1

复制jdk-8u202-linux-x64.tar.gz到jdk目录

修改文件PKGBUILD

“https://download.oracle.com/otn-pub/java/jdk/${pkgver}-${_build}/${_hash}/${_pkgname}-${pkgver}-linux-x64.tar.gz”

jdk-8u202-linux-x64.tar.gz

最后编译

makepkg -sric

参考:https://forum.manjaro.org/t/oracle-jdk8-update-failed/83753/12