In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install JAVA and Maven environment in Hyperledger. I hope you will get something after reading this article. Let's discuss it together.
1. Use java to develop hyperledger, but you can develop it in mac or windows through samba, but you need to build some other environments in linux, java and maven
2. Java needs version 1.8 or above.
Because of samba, we download the java version of linux on the official website, copy it to a shared folder, and then execute the command.
2.1$ mkdir / opt/java
2.2$ tar-zxvf jdk-8u121-linux-x64.tar.gz
2.3$ vi / etc/profile
Export JAVA_HOME=/opt/java/jdk1.8.0_171
Export CLASSPATH=$:CLASSPATH:$JAVA_HOME/lib/
Export PATH=$PATH:$JAVA_HOME/bin
2.40$ source / etc/profile
$2.50 java-version
3. Install maven, because when you drop the java code, you need to execute the mvn command in linux.
Similarly, download the package of linux version maven, and copy it directly to linux through the shared folder of samba. Note: version 3.1.1 or above.
3. 1$ mkdir / opt/maven
3.2$ sudo tar zxvf apache-maven-3.3.9-bin.tar.gz-C / opt/maven
3. 3$ sudo vi ~ / .bashrc
Add three lines of attributes at the end of the file
Export M2_HOME=/opt/apache-maven-3.3.9export CLASSPATH=$CLASSPATH:$M2_HOME/libexport PATH=$PATH:$M2_HOME/bin
3.40$ source ~ / .bashrc
3.50$ mvn-v
After reading this article, I believe you have a certain understanding of "how to install JAVA and Maven environment in Hyperledger". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.