首页 > 编程语言 > 详细

fabric-chaintool 编译需要javac 1.8

时间:2016-12-23 13:51:06      阅读:493      评论:0      收藏:0      [点我收藏+]

下载jdk-8u111-linux-x64.tar.gz

tar zxvf  jdk-8u111-linux-x64.tar.gz  到/usr/lib/jvm/

which java
# /usr/bin/java
ls -l /usr/bin/java
# lrwxrwxrwx 1 root root 22 Sep 20 21:22 /usr/bin/java -> /etc/alternatives/java
ls -l /etc/alternatives/java
# lrwxrwxrwx 1 root root 42 Sep 21 00:01 /etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java

sudo rm /etc/alternatives/java
sudo ln -s /usr/lib/jvm/jdk1.8.0_111/bin/java /etc/alternatives/java

root@zte-R5300-G3:/usr/lib/jvm# java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

编译通过

fabric-chaintool 编译需要javac 1.8

原文:http://www.cnblogs.com/maypen/p/6214332.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!