variables# Cp/etc/profile/etc/profile.bak #备份# Vi/etc/profile #编辑, add the following at the endExport Java_home=/usr/lib/jvm/java7Export JRE_HOME=${JAVA_HOME}/JREExport Classpath=.:${java_home}/lib:${jre_home}/libExport Path=${java_home}/bin: $PATH# Source/etc/profile #使配置文件立即生效Since there may be a default version of the JDK in the system, the following work will be done to set up our installed JDK as the default JDK version.Update-alternatives--inst
Moving Hadoop the next day. Construction Hadoop The environment also took two days to write the process of its own configuration here, I hope to help!I will use the text of all the resources are shared here, click to download, do not need to find a!There is a book on the inside of Hadoop technology. The first chapter describes the configuration process, but not specific ~---------------Installing the JDK-------------------------------1.Download jdk1.6.0_452. Unzip to opt directory and configure/
1. New JVM folder-Unzip# mkdir /usr/lib/JVM# tar2, set the environment variables, the last side of the/etc/profile file added:# vi /etc/profileexport java_home=/usr/lib/jvm/jdk1. 7 . 0_79export jre_home=${java_home}/jreexport CLASSPATH=.:${java_home}/lib:${jre_home}/ Libexport PATH=${java_home}/bin: $PATH3. Modify the system default JDK# update-alternatives--install /usr/bin/java java/usr/lib/jvm/jdk1. 7 - # Update-
installation of ECLIPSE-CDT failed.Start gnome-do,win+6. Chinese Input method,Apt-get Install IBUs ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4Apt-get Install Ibus-googlepinyinThen set the IBUs frame7. After the installation is finished, you need to start ATD and CronUse Chkconfig to start some problems, but you can use it to display servicesUPDATE-RC.D cron defaults or specify sequence numberUPDATE-RC.D Cron Defaults 50 508 configuration can be compiled for Android Javajava_home=/usr/lib/jvm/jdk1.
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
Installing the JDK ;java-version--View Versioncd/usr/local/src--Enter the directory of the installation packageTar zxvf jdk-7u79-linux-x64.tar.gz--decompression jdk;Mkdir-p/usr/lib/jvm--New Folder JVMMV jdk1.7.0_79/usr/lib/jvm/java7--Move the JDK unpacking package to the Java7 folder (Java is easy to name when moving)cp/etc/profile/etc/profile.bak--Backup to avoid a change in recoveryVi/etc/profile #编辑, add the following at the end of the save--:wq!Export java_home=/usr/lib/jvm/java7--Configurin
version of the JDK in the system, in order to set our installed JDK as the default version, do the followingUpdate-alternatives--install/usr/bin/java Java/usr/lib/jvm/java8/bin/java 300Update-alternatives--install/usr/bin/javac Javac/usr/lib/jvm/java8/bin/javac 300Update-alternatives--install/usr/bin/jar Jar/usr/lib/jvm/java8/bin/jar 300Update-
,Ten "Src/chrome_frame/tools/test/reference_build/chrome_win": None,"Src/chrome/tools/test/reference_build/chrome_mac": None,"Src/third_party/hunspell_dictionaries": None,13},"Safesync_url": "",15},16]Cache_dir = NoneTarget_os = [' Android ']4, Code synchronization:Performing glient Sync--force synchronization generally takes longer,Special Note:Please use a VPN gate that I use for an open source VPN Client (window platform) + ubuntu14.04 virtual machine.5. Installing the Java SDKsudo apt-get in
,Ten "Src/chrome_frame/tools/test/reference_build/chrome_win": None,"Src/chrome/tools/test/reference_build/chrome_mac": None,"Src/third_party/hunspell_dictionaries": None,13},"Safesync_url": "",15},16]Cache_dir = NoneTarget_os = [' Android ']4, Code synchronization:Performing glient Sync--force synchronization generally takes longer,Special Note:Please use a VPN gate that I use for an open source VPN Client (window platform) + ubuntu14.04 virtual machine.5. Installing the Java SDKsudo apt-get in
root, open up/etc/profile.
type/copy/paste: sudo gedit/etc/profile
Or
type/copy/paste: sudo nano/etc/profile
9 Scroll down to the end of thefile using your arrow keys and add the following lines below to the end of YOUR/ETC/PR Ofile File:
Type/copy/paste:java_home=/usr/local/java/jdk1.8.0_20jre_home=/usr/local/java/jre1.8.0_20Path= $PATH: $JRE _home/bin: $JAVA _home/binExport Java_homeExport Jre_homeExport PATH
Save the/etc/profile file and exi
, enter directly at the terminal#/usr/java/java7/bin/java-versionAt this point we begin to make a link. Add to the system bin and use the update-alternatives command to maintain the soft connection of the system by updating this to let the system know which command to use. The last parameter is the priority. The higher the better.#update-alternatives--install/usr/bin/java Java/usr/java/java7/bin/java 1100#u
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
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.