Why cannot eclipse be opened ?!

Source: Internet
Author: User
Tags gtk

It may not be inexplicable. I may have reinstalled Java when installing hadoop, and eclipse won't be able to open it. When opening, an error is reported:

N error has occurred. See the log file/home/solohermex/. Eclipse/org. Eclipse. platform_3.7.0_155965261/configuration/1337069840757. log.

Then I went to the log file. The error is as follows:

! Session 16:25:54. 852 -----------------------------------------------
Eclipse. buildid = I20110613-1736
Java. Version = 1.7.0
Java. Vendor = Oracle Corporation
Bootloader constants: OS = Linux, arch = x86, Ws = GTK, NL = en_us
Command-line arguments:-OS Linux-ws GTK-arch x86

! Entry org. Eclipse. osgi 4 0 16:26:13. 648
! Message application error
! Stack 1
Java. Lang. unsatisfiedlinkerror: cocould not load SWT library. Reasons:
No swt-gtk-3740 in Java. Library. Path
No SWT-GTK in Java. Library. Path

 

Solution:

32-bit system: ln-S/usr/lib/JNI/libswt -*~ /. SWT/lib/Linux/x86/
64-bit system: ln-S/usr/lib/JNI/libswt -*~ /. SWT/lib/Linux/x86_64/

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.