}/JRE3Export classpath =. :$ {java_home}/lib :$ {jre_home}/lib4Export path =$ {java_home}/bin: $ pathNote: Please note that you do not need to enter it urgently after running. You must press the letter I to enter the editing mode before moving the cursor input.After entering the preceding content, Press ESC to exit the editing mode, move the cursor to the end, and enter ': WQ! 'To save and exit.3. Save and execute the following command to make it take effect immediately1Source ~ /. Bashrc4. Conf
First step: Using which gcc, which g++, and which gfortran to view the location, my display results are:/usr/bin/gcc;/usr/bin/g++ and/usr/bin/gfortranPart Two: First, take a look at what version of GCC you have installed in your Ubuntu command: ls/usr/bin/gcc*-L;The gcc/g++ in Ubuntu 12.04 are all 4.6, and we downgrade the system to 4.4 by default.$sudo Apt-get Install gcc-4.4$sudo update-alternatives--INSTALL/USR/BIN/GCC gcc/usr/bin/gcc-4.4 40(Here "
Download eclipse-cpp-neon-2-linux-gtk-x86_ from Http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/neon2 64.tar.gz, unzip and install to directory/opt/, run/opt/eclipse/eclipse, error:It looks like Java 1.8 is needed.To view the Java version:$ java-versionJava Version "1.7.0_111"OpenJDK Runtime Environment (IcedTea 2.6.7) (7U111-2.6.7-2~DEB8U1)OpenJDK 64-bit Server VM (build 24.111-b01, Mixed mode)Find out where the Java command is:$ which Java/usr/bin/java$ Ll/usr/bin/javalrwxr
1, to the Sun's official website downloadIf the path cannot be found, please Baidu "Oracle technology Networkjavajava SEDownloads"Select Accept License and select the JDK download that fits your model.2, unzip the file, modify the filename$ sudo mkdir/usr/lib/jvm$ sudo tar zxvf jdk-7u21-linux-i586.tar.gz-c/usr/lib/jvm$ cd/usr/lib/jvm$ sudo mv jdk1.7.0_21 Java3. Add Environment variables$ sudo vim ~/.BASHRCAdd the following:Export Java_home=/usr/lib/jvm/java export JRE_HOME=${JAVA_HOME}/JRE expo
Tags: get error image. com failed highlight information path pictureThe general problem is this, not PHP installation failed, that is, MySQL installation failed, or Nginx installation failedis basically a fancy error. Later in the military elder brother's forum found this post: https://bbs.vpser.net/viewthread.php?tid=16700highlight=ubuntu17.10In simple terms, the GCC version is a problem.I thought about it--switch version:Let's see what the GCC and g++ are for our system.gcc-vThe information yo
In this chapter we will combat how to use Geth, how to build the private network of the etheric square.
Previously said Geth is one of three tools to achieve the Ethernet square agreement, because Geth is officially respected and personal energy is limited, for the other two tools to build a private network, please refer to the online data.The following geth, implemented on a MacBook, is similar to Windows. Step 1: Create a directory and Genesis.json a directory in the command-line mode, such as
software has been installed. build a private chain 1. Start Geth service
Geth--datadir "/root/chain" console
Where DataDir is used to specify the data directory. This directory cannot be created beforehand, or the command will fail. The results of the implementation are as follows:
2. Create Account
After execution, enter the Geth interaction mode. Then create an account, and then exit. This account is used to perform the Genesis operation. Then exit exit
> Personal.newaccount ("Password"
the industry is an important part of the overall hierarchy. In these de-centralized protocols, it is critical that any developer can quickly create new applications or experiments.This can be a commercial service, or an open source project. A good example of this trend is the chain.com API, and the Coinbase Open Source node tool Toshi. The two goals are the same, but Chain is a business service, and Toshi is open source.5. ApplicationThis is the part
":" 0x0000000000000000000000000000000000000000000000000000000000000000 ",
" Coinbase ":" 0x3333333333333333333333333333333333333333 ",
" Alloc ": { }
}
parameter Description:
Mixhash
A hash that is generated by a portion of the previous block in conjunction with a nonce for mining. Note that he and the nonce settings need to meet Ethereum's yellow paper, 4.3.4. Block Header Validity, (44) The conditions described in the cha
Sogou input method under Ubuntu1. Add a sourcesudo add-apt-repository ppa:fcitx-team/nightly2. Update the sourcesudo apt-get update3. Installing FCITXsudo apt-get install FCITX4. Installing the FCITX Configuration toolsudo apt-get install FCITX-CONFIG-GTK5. Installing the FCITX Table-all packagesudo apt-get install Fcitx-table-all6. Install the Im-switch switch toolsudo apt-get install Im-switch7. Enter "FCITX" in the search field in the upper left corner, the input method icon appears, the ins
1, the official website download JDK, address: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html, select Jdk-8u40-linux-x64.tar.gz2. Extract the files to the specified directory and modify the file namesudo mkdir /usr/lib/jvmsudotar zxvf jdk-8u40-linux-x64. tar. gz-c/usr/lib//usr/lib/JVMwithsudomv jdk1. 7. 0_21 Java3, modify the configuration file, add environment variables1 sudo vim ~/. BASHRC2#在文档最下面添加以下配置 3 export java_home=/usr/lib/jvm/ 4 export jre_home=$
if your own JDK is located on the pathReference documentsIn fact, the above is not right, it is important to configure the default JDK to modifysudo update-alternatives--install "/usr/bin/java" "java" "/usr/jdk1.7.0_09/bin/java" 300sudo update-alternatives-- Install "/usr/bin/javac" "Javac" "/usr/jdk1.7.0_09/bin/javac" 300sudo update-alternatives--install "/usr/
(to replace OPENJDK)Open the terminal, just open it anywhere, and then execute the command in turn.sudo update-alternatives--install /home/hsiung/javadev/bin /java sudo update-alternatives--install /home/hsiung/javadev/bin /javac sudo update-alternatives--install /home/hsiung/javadev/bin /jar sudo update-alternatives
Environment is ubuntu14.04,jdk1.8.0_73, ActiveMQ-5.13.1
Download JDKHttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlMkdir/usr/lib/jvmTar zxvf jdk-8u73-linux-x64.tar.gzMV jdk1.8.0_73/usr/lib/jvm/Mv/usr/lib/jvm/jdk1.8.0_73/usr/lib/jvm/jdk
Installing the configuration JDKThe next time the terminal executes the following statementUpdate-alternatives--install/usr/bin/java Java/usr/lib/jvm/jdk/bin/java 1065Update-
Original address: http://www.linuxdiyf.com/linux/1794.htmlThe version of GCC used in Ubuntu is different from the release version, and when compiling the Android system different versions are recommended to compile with different gcc, so can you change the system's GCC to suit the needs of the Android build environment? The answer is yes.Let's see what the GCC and g++ are for our system.Gcc-vThe information you can get is as followsGCC version 4.4.6 (Ubuntu/linaro 4.4.6-11ubuntu2)What if we want
From:http://www.cnblogs.com/plinx/archive/2013/06/01/3113106.html1, to the Sun's official website downloadhttp://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Select Accept License and select the JDK download that fits your model.2, unzip the file, modify the filenamemkdir/usr/lib/tar zxvf jdk-7u21-linux-i586. Tar.gz-c/usr/lib/jvm$ cd/usr/lib/mv Jdk1. 7.0_21 java 3. Add Environment variablessudo vim ~/.BASHRCAdd the following:Export java_home=/usr/lib/jvm/JAVA
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.