Installing Eclipse for C + + on centos6.5

Source: Internet
Author: User

Installing Eclipse for C + + on centos6.5

First, go to the official website to download the Eclipse installation package URL http://www.eclipse.org/downloads, find the following IDE download extract TAR-XZVF eclipse-cpp-neon-3-linux-gtk-x86_64. tar.gz Copy the extracted directory to the/usr/local/directory to create a shortcut in the blank space of the desktop right click, select Create Launcher, name fill Eclipse,command Click the browse button to find/usr/local/ Eclipse/eclipse, click the icon button in the upper left corner to find/usr/local/eclipse/icon.xpm, click OK to generate the shortcut.

Two, install JDK (i download eclipse requires 1.8 version of support) 1) First check if you have previously installed RPM-QA | The grep JDK outputs the following results: java-1.6.0-openjdk-1.6.0.0-1.66.1.13.0.el6.x86_64java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64  2) View installed Java version java-version, 3) Uninstall reinstall if previously installed and the version is too low, egyum remove Java-1.6.0-openjdkyum Remove java-1.7.0-openjdk 4) Download the JDK installation package RPM from the official website, enter the following instruction in the downloaded directory: RMP-IVH jdk-8u161-linux-x64.rpm 5) Set Global environment variables we can easily set the environment variables for your JDK installation using the following command: Export Java_ Home=/usr/java/jdk1.8.0_161/export path= $PATH: $JAVA _home Now let's look at the environment variables of the JDK using the following command: Echo $JAVA _home output is as follows:/usr/java/ jdk1.8.0_161/

Installing Eclipse for C + + on centos6.5

Related Article

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.