Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Eclipse in CentOS system

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces you how to install Eclipse in the CentOS system, the content is very detailed, interested friends can refer to, hope to be helpful to you.

1-install JAVA first

The code is as follows:

Yum install java

2-check if java is installed

The code is as follows:

Java-version

Java version "1.7.051"

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 version

Extract to / opt directory

The code is as follows:

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

4-make symbolic link directory

The code is as follows:

Ln-s / opt/eclipse/eclipse / usr/bin/eclipse

5-create a Gnome startup

The code is as follows:

Vi / usr/share/applications/eclipse.desktop

Add the following 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 if app has been added

7-run Eclipse

Help downloading plug-ins and extensions from the market >

On how to install Eclipse in the CentOS system to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report