系统相关
首页 > 系统相关> > Ubuntu18.04安装jdk15

Ubuntu18.04安装jdk15

作者:互联网

从Oracle官网下载安装文件

https://www.oracle.com/java/technologies/javase-downloads.html

解压

tar zxf /home/yangning/Downloads/jdk-15.0.2_linux-x64_bin.tar.gz -C /jdk15/

配置环境变量

sudo gedit /etc/profile
export JAVA15_HOME=/jdk15/jdk-15.0.2
export PATH=$PATH:$JAVA15_HOME/bin
source /etc/profile

标签:profile,bin,tar,jdk15,export,HOME,Ubuntu18.04,安装
来源: https://blog.csdn.net/qq_41058067/article/details/113375312