ubuntu 启动./eclipse报错

错误:
Eclipse:
GTK+ Version Check
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/zhangmingbao/user/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160914-0716/eclipse_1617.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It’s highly recommended that you fix the library with ‘execstack -c ’, or link it with ‘-z noexecstack’.
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized.
Eclipse:
JVM terminated. Exit code=13
/usr/local/java/jdk1.8.0_101/bin/java
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /home/zhangmingbao/user/eclipse//plugins/org.eclipse.equinox.launcher_1.3.200.v20160914-0716.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/zhangmingbao/user/eclipse//plugins/org.eclipse.platform_4.7.0.v20160915-0230/splash.bmp
-launcher /home/zhangmingbao/user/eclipse/eclipse
-name Eclipse
–launcher.library /home/zhangmingbao/user/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160914-0716/eclipse_1617.so
-startup /home/zhangmingbao/user/eclipse//plugins/org.eclipse.equinox.launcher_1.3.200.v20160914-0716.jar
–launcher.appendVmargs
-exitdata 338015
-product org.eclipse.epp.package.java.product
-vm /usr/local/java/jdk1.8.0_101/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /home/zhangmingbao/user/eclipse//plugins/org.eclipse.equinox.launcher_1.3.200.v20160914-0716.jar

原因:
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/zhangmingbao/user/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160914-0716/eclipse_1617.so which might have disabled stack guard. The VM will try to fix the stack guard now. 即也就是64位的操作系统上运行32位的eclipse出错

解决办法:重新下载64位的eclipse

你可能感兴趣的:(java学习)