Build Java, eclipse, and codeblocks for related development environments in Ubuntu

Source: Internet
Author: User

In fact, it was prepared to set up hadoop for cloud computing courses. Simply put, we will all be ready in Ubuntu later, so we will move the development environments of CPP and python.

1. Install JDK first. The download is in the tar.gz format.

tar -xzvf jdk1.7xxx.tar.gz /usr/localsudo gedit /usr/share/applications/eclipse.desktop

 

 

Decompress the package and configure the environment variables.

gedit /etc/profile

Add the following

export JAVA_HOME=usr/local/jdk1.7.0_10export JRE_HOME=usr/local/jdk1.7.0_10/jreexport PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATHexport CLASSPATH=$CLASSPATH:.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib

It is the setting of environment variables. Remember to write your own path!

... Oh, right... It also overwrites the default Java command .. Baidu on your own .. One hundred-degree Compaction

2. Install eclipse. Or decompress the package. Command. Decompress the package to your favorite location. Then we configure the desktop icon ~ Start directly later

First

[Desktop Entry]  Encoding=UTF-8 Name=Eclipse Platform  Comment=Eclipse IDE  Exec=/usr/local/eclipse/eclipseIcon=//usr/local/eclipse/icon.xpm  Terminal=false StartupNotify=true Type=Application  Categories=Application;Development;  

Of course .. You can directly

sudo apt-get install eclipse

3. Finally, install codeblocks

Apt-Get

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.