2014-07-21 7 views
28

mam Debian GNU/Linux 7.4 (wheezy) System operacyjny zainstalowany na Oracle VirtualBox oraz:Dlaczego mój błąd Eclipse Luna 4.4 na Debianie Wheezy 7.4 z Oracle JDK8 64bit?

java version "1.8.0_11" 
Java(TM) SE Runtime Environment (build 1.8.0_11-b12) 
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode) 

Pobrałem Luna Eclipse 4.4. Kiedy próbuje uruchomić Eclipse wystąpił błąd:

A fatal error has been detected by the Java Runtime Environment: 
SIGSEGV (0xb) at pc=0x00007f9e8a42173f, pid=10942, tid=140319582553856 
JRE version: Java(TM) SE Runtime Environment (8.0_11-b12) (build 1.8.0_11-b12) 
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.11-b03 mixed mode linux-amd64 compressed oops) 
Problematic frame: 
C [libgdk-x11-2.0.so.0+0x5173f] gdk_display_open+0x3f 
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java 

Więc wydał polecenie w terminalu:

$ ulimit -c unlimited 
$ ./eclipse 

Ale nastąpił kolejny błąd:

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support 
was removed in 8.0 
(java:11276): GLib-GObject-WARNING **: cannot register existing type `GdkDisplayManager' 
(java:11276): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed 
(java:11276): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed 
(java:11276): GLib-GObject-WARNING **: invalid (NULL) pointer instance 
(java:11276): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed 
(java:11276): GLib-GObject-WARNING **: invalid (NULL) pointer instance 
(java:11276): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed 
(java:11276): GLib-GObject-WARNING **: cannot register existing type `GdkDisplay' 
(java:11276): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed 
(java:11276): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed 
(java:11276): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed 
(java:11276): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed 
A fatal error has been detected by the Java Runtime Environment: 
SIGSEGV (0xb) at pc=0x00007f216d28473f, pid=11276, tid=139782222493440JRE version: Java(TM) SE Runtime Environment 

(8.0_11-b12) (kompilacja 1.8.0_11-b12) Java VM: Java HotSpot (TM) 64-bitowy serwer VM (25.11-b03 tryb mieszany linux-amd64 skompresowany ups) Problematyczne klatki: C [libgdk-x11-2.0.so.0 + 0x5173f] gdk_display_open + 0x3f Rdzeń dump napisane. Domyślna lokalizacja:/home/abcdef/ECLIPSE_JAVA/eclipse/rdzeń lub core.11276

Próbowałem również rozwiązać ten problem przez dodanie:

-Dorg.eclipse.swt.browser.DefaultType=mozilla 

do eclipse.ini, ale tak się nie stało Wsparcie.

Czy ktoś może mi pomóc z tym problemem?

+4

Try. 'SWT_GTK3 = 0/eclipse' –

Odpowiedz

79

Według: https://bugs.eclipse.org/bugs/show_bug.cgi?id=430736

Dodaj do 2 linii eclipse.ini:

--launcher.GTK_version 
2 

Opcja --launcher.GTK_version powinny być przed --launcher.appendVmargs

problem (dialogi nie działa prawidłowo) z TIBCO Jaspersoft® Studio - Visual Designer for JasperReports:

edycji Jaspersoft Studio.ini tak:

-startup 
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar 
--launcher.GTK_version 
2 
--launcher.library 

Albo dodać to przed rozpoczęciem Jasper Studio (runubuntu.SH)

export SWT_GTK3=0 
+1

Miałem ten sam problem i to rozwiązanie pracował dla mnie. Dziękuję Ci ! – Sara

+1

-> Eclipse Mars to samo rozwiązanie. – CamelTM

+1

to działało również dla mnie: D – user2010955

3

Spróbuj uruchomić Eclipse z linii poleceń za pomocą opcji -noSplash. Twój błąd wyglądał następująco: bug.

10

spróbować edytować plik eclipse.ini tak:

-startup 
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar 
--launcher.library 
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326 
-product 
org.eclipse.epp.package.java.product 
--launcher.defaultAction 
openFile 
-showsplash 
org.eclipse.platform 
--launcher.XXMaxPermSize 
256m 
--launcher.defaultAction 
openFile 
--launcher.GTK_version 
2 
--launcher.appendVmargs 
-vmargs 
-Dosgi.requiredJavaVersion=1.6 
-XX:MaxPermSize=256m 
-Xms40m 
-Xmx512m 
+0

Po obejrzeniu tego dokonać również wskazać Java 7 i to działało – pitchblack408

4

miałem ten sam problem z Eclipse opartego Sping Narzędzie Suite (STS) i JDK 8 przy uruchamianiu STS na Debian wheezy 7.6 64-bit. Dodanie tych dwóch linii, jak sugerowały inne odpowiedzi, do pliku init sts.ini (eclipse.ini) wykonało pracę.

-startup 
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar 
--launcher.library 
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326 
-product 
org.springsource.sts.ide 
--launcher.defaultAction 
openFile 
--launcher.GTK_version 
2 
-vmargs 
-Dosgi.requiredJavaVersion=1.6 
-Xms40m 
-Xmx768m 
3

"--launcher.GTK_version 2"

Jest to praca dla mnie również. Debian 7 + STS 4.4.1, muszę dodać linię do eclipse.ini, gdy dodam ccer.

4

Na Debianie Wheezy 7.8 (64-bitowy) & przy użyciu Eclipse - Luna 4.4.2. Komentarze od harshrc na Bug 430736 były najbardziej istotne w moim przypadku i rozwiązany ekran powitalny po awarii. Uruchomienie Eclipse z export SWT_GTK3=0

# from CLI/prompt in eclipse folder: 
export SWT_GTK3=0 ; ./eclipse 
+0

Działa to również z Debian Jessie i Eclipse Neon. – albert

Powiązane problemy