Several recent projects are written with c++11, the more you feel strong, a lot of new features also hope that Java can be integrated into it. Plan to have time to write a c++11 of the use of the experience, but C + + is too profound, there are several great features have not mastered. Now try to use c++11 on native Ubuntu, find several methods, think the following method is the quickest.First, in order to use the C++11,GCC version must be above 4.7. Of course, if you do not use all the features
to edit ~/.bashrc the file, using VI, Gedit or VIM. Copy the following to the end of the file.export JAVA_HOME=/usr/lib/java/jdk1.8.0_45export JRE_HOME=${JAVA_HOME}/jreexport CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/libexport PATH=${JAVA_HOME}/bin:$PATHAfter saving, return to terminal, source a bit:source ~/.bashrcThe following may or may not be performed.To configure the default JDK version:Because Ubuntu has a default JDK version built in, we can replace the original OPENJDK after we configur
Installation in the ubuntu10.10 system, the development environment needs, sometimes need to install JDK5 and JDK6, how to achieve the switch between the two? Use the Update-alternativs command to complete this taskSpecific as follows:1. Check to see if the JDK is in the Ubuntu JDK menu:Java code
Update-alternatives--config Java
Update-alternatives--config Javac
2. If not in the menu can b
installation of Ubuntu, first install make
sudo apt-get install make
Download source
sudo wget https://downloads.php.net/~ab/php-7.0.2RC1.tar.gz
sudo tar-zvxf php-7.0.2rc1.tar.gz
CD Php-7.0.2rc1
According to Brother Bird, install gcc4.8
With a new compiler, GCC is recommended for more than 4.8 because only gcc 4.8 or more PHP will open the global Register for Oplineand Execute_data support, this will bring about 5% performance promotion (Wordpres QPS angle measure) actually GCC4.8 Previous
-downloads-javase6-419409.html, select Java SE development Kit 6u45, and then click Accept on the newly opened pageAccept License Agreement". Once accepted, select "Jdk-6u45-linux-x64.bin" to download. If you are not logged in, the system will first go to the login page and enter the username and password you registered with the Oracle website.Step three: Install Oracle JDK(1) Create Java directory $ sudo mkdir-p/usr/local/java copy your downloaded Jdk-6u45-linux-x64.bin to/usr/local/java direct
/downloads/ java-archive-downloads-javase6-419409.html, select Java SE development Kit 6u45, and then click Accept on the newly opened pageAccept License Agreement". After acceptance. Select "Jdk-6u45-linux-x64.bin" to download. Assuming you are not logged in, the system will first go to the login page and enter your username and password on the Oracle site. Step three: Install Oracle JDK(1) Create Java folder $ sudo mkdir-p/usr/local/java copy your downloaded Jdk-6u45-linux-x64.bin to/usr/local
1. Go to Oracle official website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Download JDK version, such as: jdk-8u171-linux-x64.tar.gz2. Sudo tar-zxf jdk-8u171-linux-x64.tar.gz/usr/local, unzip the JDK into/usr/local3. Set environment variables to add the following environment variables in. ZSHRC (zsh) or/etc/profile (bash):Export java_home=/usr/local/jdk1.8.0_171Export Jre_home= $JAVA _home/jreExport classpath=.: $JAVA _home/lib: $JRE _home/libExport pat
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.