CentOS Add Eclipse Desktop shortcut

Source: Internet
Author: User

"1" with the RMP package installation JDK, (previously installed with the source package, but anti-second-interview several methods are not)

Install in/usr/local directory: command

#rpm-IVH jdk.rpm

Then #vi/etc/profile

At the end of the Add environment variable:

#set Java
Export java_home=/usr/local/jdk1.8.0_31
Export classpath=.: $JAVA _home/jre/lib/rt.jar: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export path= $PATH: $JAVA _home/bin

"2" Copy Eclipse to/usr/local directory, unzip

"3" On the desktop, right-click on the blank, create launcher:

Add a name, and then find the Eclipse executable file in the Eclipse directory, open, OK, and then

Note

1, the type is the application, does not have the terminal, the concrete test will understand.

2, here only in the RPM package test pass, the source package installation may appear in the error:

Error not resolved ....

CentOS Add Eclipse Desktop shortcut

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.