UBUNTU14.0.4 Installing eclipse

Source: Internet
Author: User
Tags gtk

JDK Tools

Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Click this download.

Eclipse IDE for C + + developers:

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/SR2/ Eclipse-cpp-luna-sr2-linux-gtk-x86_64.tar.gz

After downloading, see two tar.gz files in the download window.

Enter the command sudo-s log in with root permission to avoid insufficient permissions.

Create an Eclipse folder with the mkdir Eclipse directive under the/opt file

Using MV eclipse-cpp-luna-sr2-linux-gtk-x86_64.tar.gz Jdk-8u131-linux-x64.tar.gz/opt/eclipse

Cut the file into the Eclipse folder, and then

TAR-ZXVF jdk-8u131-linux-x64.tar.gz to unzip the file.

Then use Gedit ~/.BASHRC to open the. bashrc file for the user, and then add

#set Oracle JDK Environment
Export java_home=/opt/eclipse/jdk1.8.0_131
# Here's a list of directories to replace with your own extracted JDK directory
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export Path=${java_home}/bin: $PATH

To add the environment variable. Now you have installed the JDK environment running in Eclipse, you can

Java ~version to see if the installation was successful.

After that, the eclipse is officially installed, and the same instructions TAR-ZXVF eclipse-cpp-luna-sr2-linux-gtk-x86_64.tar.gz to extract the files.
Also use Gedit ~/.BASHRC to open the user's. bashrc file, where you add eclipse environment variables

Export path= $PATH:/opt/eclipse/eclipse

source/home/User name/.BASHRC update environment variables, and Eclipse is ready to install. can be done by

Cd/opt/eclipse/eclipse go to the installation folder and

The./eclipse runs Eclipse.

UBUNTU14.0.4 Installing eclipse

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.