2017-02-28 86 views
0

我嘗試在指南here之後的窗口10中設置hyperledger結構-0.6。我想知道這是怎麼回事錯在這裏(是關於Makefile文件Hyperledger結構「make peer」命令失敗

W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_Packages.gz is not what the server reported 729504 729509 
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages Hash Sum mismatch 
E: Some index files failed to download. They have been ignored, or old ones used instead. 
Fetched 3769 kB in 18s (207 kB/s) 
update-java-alternatives: directory does not exist: /usr/lib/jvm/java-1.8.0-openjdk-amd64 
The command '/bin/sh -c core/chaincode/shim/java/javabuild.sh' returned a non-zero code: 1 
Makefile:217: recipe for target 'build/image/javaenv/.dummy' failed 
make: *** [build/image/javaenv/.dummy] Error 1 

:(部署在顛沛流離的環境) 完成所有先決條件,我ssh到流浪漢,執行命令後

make peer 

它爲響應?)以及如何解決它。

回答

0

您的映像中沒有安裝java。

apt-get install default-jdk-headless