Open eclipse after installation, and an error is prompted

Source: Internet
Author: User
Tags gtk

Sudo apt-Get install eclipse

Open eclipse after installation, and an error is prompted

An error has occurred. See the log file
/Home/pengeorge/. Eclipse/org. Eclipse. platform_3.7.0_155965261/configuration/1342406790169. log.

Open the log file and see the following error

! Session 10:46:29. 992 -----------------------------------------------
Eclipse. buildid = I20110613-1736
Java. Version = 1.7.0 _ 05
Java. Vendor = Oracle Corporation
Bootloader constants: OS = Linux, arch = x86, Ws = GTK, NL = zh_cn
Command-line arguments:-OS Linux-ws GTK-arch x86


! Entry org. Eclipse. osgi 4 0 10:46:31. 885
! 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
Could't Load Library:/home/pengeorge/. SWT/lib/Linux/x86/libswt-gtk-3740.so
Could't Load Library:/home/pengeorge/. SWT/lib/Linux/x86/libswt-gtk.so


At org. Eclipse. SWT. Internal. Library. loadlibrary (library. Java: 285)
At org. Eclipse. SWT. Internal. Library. loadlibrary (library. Java: 194)
At org. Eclipse. SWT. Internal. C. <clinit> (C. Java: 21)
At org. Eclipse. SWT. Internal. converter. wcstombcs (converter. Java: 63)
At org. Eclipse. SWT. Internal. converter. wcstombcs (converter. Java: 54)
At org. Eclipse. SWT. Widgets. display. <linit> (display. Java: 132)
At org. Eclipse. UI. Internal. workbench. createdisplay (workbench. Java: 695)
At org. Eclipse. UI. platformui. createdisplay (platformui. Java: 161)
At org. Eclipse. UI. Internal. Ide. application. ideapplication. createdisplay (ideapplication. Java: 153)
At org. Eclipse. UI. Internal. Ide. application. ideapplication. Start (ideapplication. Java: 95)
At org. Eclipse. Equinox. Internal. App. eclipseapphandle. Run (eclipseapphandle. Java: 196)
At org. Eclipse. Core. runtime. Internal. adaptor. eclipseapplauncher. runapplication (eclipseapplauncher. Java: 110)
At org. Eclipse. Core. runtime. Internal. adaptor. eclipseapplauncher. Start (eclipseapplauncher. Java: 79)
At org. Eclipse. Core. runtime. adaptor. eclipsestarter. Run (eclipsestarter. Java: 344)
At org. Eclipse. Core. runtime. adaptor. eclipsestarter. Run (eclipsestarter. Java: 179)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 57)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 43)
At java. Lang. Reflect. method. Invoke (method. Java: 601)
At org. Eclipse. Equinox. launcher. Main. invokeframework (main. Java: 622)
At org. Eclipse. Equinox. launcher. Main. basicrun (main. Java: 577)
At org. Eclipse. Equinox. launcher. Main. Run (main. Java: 1410)

Copy related files ~ /. SWT/lib/Linux/x86
CP/usr/lib/JNI/libswt-* 3740.so ~ /. SWT/lib/Linux/x86

Original article: http://www.linuxidc.com/Linux/2012-07/65617.htm

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.