Installation of eclipse on CentOS system

Time:2021-3-2

Eclipse is an integrated development environment (IDE), including an extensible plug-in system of base workspace and custom environment. Most of them are written in Java, and eclipse can be used to develop applications.

Through various plug-ins, eclipse can also be used to develop applications in other programming languages: Ada, ABAP, C, C + +, COBOL, FORTRAN, Haskell, JavaScript, Lasso, natural, Perl, PHP, prolog, python, ruby, Scala, clojure, groovy, scheme and Erlang. It can also be used to develop Mathematica packages.

The development environment includes eclipse java development tool (JDT), Java and scala support, eclipse CDT C / C + + and eclipse PDT PHP, etc.
Installation

1 – install Java first

   

Copy code

The code is as follows:

yum install java

2 – check if Java is installed

   

Copy code

The code is as follows:

java -version</p>
<p> java version “1.7.0_51”
OpenJDK Runtime Environment (rhel-2.4.5.5.el7-x86_64 u51-b31)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

3 – download eclipse Luna final

Unzip to the / opt directory;

   

Copy code

The code is as follows:

tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /opt

4 – make the symbol link to the directory

   

Copy code

The code is as follows:

ln -s /opt/eclipse/eclipse /usr/bin/eclipse

5 – create a gnome startup

   

Copy code

The code is as follows:

vi /usr/share/applications/eclipse.desktop

Add the following code:

   

Copy code

The code is as follows:

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse 4.4.1
Comment=Eclipse Luna
Exec=/usr/bin/eclipse
Icon=/opt/eclipse/icon.xpm
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0

6 – check whether the app has been added
2015614182712879.png (570×342)

7 – running eclipse
2015614182732493.png (570×353)

2015614182750844.png (570×340)

Download help for plug-ins and extensions from the market >
2015614182811403.png (570×340)

Recommended Today

Rust and python: why rust can replace Python

In this guide, we compare the rust and python programming languages. We will discuss the applicable use cases in each case, review the advantages and disadvantages of using rust and python, and explain why rust might replace python. I will introduce the following: What is rust? What is Python? When to use rust When to […]