How to install eclipse in Ubuntu

Source: Internet
Author: User

I personally prefer ide. I would like to worship vim and GDB experts first.

I checked the method for installing eclipse on the Internet and installed it myself. The process is as follows:

First, install JDK. Currently, JDK 1.6.0 _ 25 is used.
1. Create a folder in the root directory Java
2. Place the JDK compressed package in this folder.

3. Extract
Sudo chmod 777 JDK File
./JDK File
Then decompress the package and wait until it completes.

4. Set Environment Variables
Sudo Vim/etc/environment
Join
Export java_home =/home/Franky/Java/jdk1.6.0 _ 25
Export jre_home =/home/Franky/Java/jdk1.6.0 _ 25/JRE
Export classpath = $ classpath: $ java_home/lib: $ java_home/JRE/lib

Sudo Vim/etc/profile
Export java_home =/home/Franky/Java/jdk1.6.0 _ 25
Export jre_home =/home/Franky/Java/jdk1.6.0 _ 25/JRE
Export classpath = $ classpath: $ java_home/lib: $ java_home/JRE/lib
Export Path = $ java_home/bin: $ java_home/JRE/bin: $ path: $ home/bin

 

At last, the source

Source/etc/profile

 

5. log out and log on again

6. test whether the installation is successful.
Java-version

 

7. Install eclipse. Here eclipse for C/C ++ is used.
Create a folder (OPT) in the root directory and decompress the compressed package in tar.

8. Double-click the icon to start it!

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.