Ubuntu下的Java环境:
1.JDK/JRE的安装
2.java的环境变量
3.运行普遍Java程序
4.Java程序的运行脚本
1.先安装Java的软件包:
JRE:
openjdk-8-jre-headless
JDK:
openjdk-8-jdk-headless
安装命令:
sudo apt install openjdk-8-jdk-headless
标签:JRE,Java,JDK,openjdk,headless,安装 From: https://www.cnblogs.com/vless/p/17931459.html