Eclipse cannot start [Ubuntu], eclipseubuntu

Source: Internet
Author: User
Tags gtk

Eclipse cannot start [Ubuntu], eclipseubuntu



/Usr/lib/eclipse/configuration/1408532832.162.log:



! SESSION 2014-08-20 19:07:11. 055 -----------------------------------------------
Eclipse. buildId = I20110613-1736
Java. version = 1.6.0 _ 45
Java. vendor = Sun Microsystems Inc.
BootLoader constants: OS = linux, ARCH = x86_64, WS = gtk, NL = zh_CN
Command-line arguments:-OS linux-ws gtk-arch x86_64


! ENTRY org. eclipse. osgi 4 0 19:07:11. 644
! MESSAGE Application error
! STACK 1
Java. lang. UnsatisfiedLinkError: cocould not load SWT library. Reasons:
No swt-pi-gtk-3740 in java. library. path
No swt-pi-gtk in java. library. path
Can't load library:/root/. swt/lib/linux/x86_64/libswt-pi-gtk-3740.so
Can't load library:/root/. swt/lib/linux/x86_64/libswt-pi-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. gtk. OS. <clinit> (OS. java: 22)
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: 39)
At sun. reflect. DelegatingMethodAccessorImpl. invoke (DelegatingMethodAccessorImpl. java: 25)
At java. lang. reflect. Method. invoke (Method. java: 597)
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)
At org. eclipse. equinox. launcher. Main. main (Main. java: 1386)




$ Sudo ln-s/usr/lib/jni/libswt-*/root/. swt/lib/linux/x86_64/




Ubuntu eclipse cannot be started

Reconfigure the Xorg. conf file.
# Xorg-configure

# Cp/root/xorg. conf. new/etc/X11/xorg. conf

Ubuntu 1204 eclipse cannot be started

Java. lang. UnsatisfiedLinkError: cocould not load SWT library. Reasons:
/Usr/lib/eclipse/configuration/org. eclipse. osgi/bundles/194/2/. cp/libswt-pi-gtk-4232.so: libXtst. so.6: Unable to open shared object file: No file or directory
No swt-pi-gtk in java. library. path
/Home/kevin/. swt/lib/linux/x86/libswt-pi-gtk-4232.so: libXtst. so.6: Unable to open shared object file: No file or directory
Can't load library:/home/kevin/. swt/lib/linux/x86/libswt-pi-gtk.so
 

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.