- Linux
1.下载jdk软件包(例如:jdk-8u161-linux-x64.tar.gz)后解压
2.启动jar命令
jdk根目录/bin/java -jar xx.jar
- Windows
1.下载jdk环境(jre文件夹)
2.启动jar命令
jdk根目录/bin/java -jar xx.jar
标签:bin,java,JDK,jdk,Windows,jar,xx,Linux,根目录 From: https://blog.51cto.com/chengzheng183/6350775