https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
2. 解压jdktar -zxvf jdk-8u181-linux-x64.tar.gz3. 配置环境变量
参考:
https://www.jianshu.com/p/add543fb9167
https://blog.csdn.net/kdongyi/article/details/107002068
https://blog.csdn.net/rwx1024/article/details/92068231
vi ~/.bashrc source ~/.bashrc 使环境变量生效4. 查看java8是否安装成功
java -version
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)