WebRTC Configuring the Environment

Source: Internet
Author: User

    1. Copying files to the specified file path
    2. Cp-rf/home/leehongee/leehongee/jdk1.7.0_45/usr/lib/jvm
    3. Create folder mkdir JVM
    4. modifying environment variables

sudo gedit/etc/profile

Add to

#set Java Environment

Export java_home=/usr/lib/jvm/jdk1.7.0_45

Export JRE_HOME=${JAVA_HOME}/JRE

Export Classpath=.:${java_home}/lib:${jre_home}/lib

Export Path=${java_home}/bin: $PATH

5. Configure the default JDK version

sudo update-alternatives--install/usr/bin/java Java/usr/lib/jvm/jdk1.7.0_45/bin/java 300

sudo update-alternatives--install/usr/bin/javac Javac/usr/lib/jvm/jdk1.7.0_45/bin/javac 300

Execute code

sudo update-alternatives--config java

6. Testing

Java-version

-----------------Create a folder------------

sudo mkdir JVM
-----------------Unzip the tar file------

# tar XZVF git-1.7.2.3.tar.gz

# CD git-1.7.2.3
#./configure-prefix=/usr/local/git
# make Install

--------------Install SVN----------------------
Http://subversion.tigris.org/downloads/subversion-1.6.6.tar.gz

sudo apt-get install subversion

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.