Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/359.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 为什么我的Eclipse Luna 4.4在使用Oracle JDK8 64位的Debian Wheezy 7.4上崩溃?_Java_Linux_Eclipse_Java 8 - Fatal编程技术网

Java 为什么我的Eclipse Luna 4.4在使用Oracle JDK8 64位的Debian Wheezy 7.4上崩溃?

Java 为什么我的Eclipse Luna 4.4在使用Oracle JDK8 64位的Debian Wheezy 7.4上崩溃?,java,linux,eclipse,java-8,Java,Linux,Eclipse,Java 8,我在Oracle VirtualBox上安装了Debian GNU/Linux 7.4(wheezy)操作系统,并且: 我下载了EclipseLuna4.4。当我尝试运行Eclipse时,发生了一个错误: 所以我在终端发出了一个命令: $ ulimit -c unlimited $ ./eclipse 但下一个错误发生了: (8.0_11-b12)(构建1.8.0_11-b12) Java虚拟机:Java热点(TM)64位服务器虚拟机(25.11-b03混合模式linux-amd64压缩oop

我在Oracle VirtualBox上安装了Debian GNU/Linux 7.4(wheezy)操作系统,并且:

我下载了EclipseLuna4.4。当我尝试运行Eclipse时,发生了一个错误:

所以我在终端发出了一个命令:

$ ulimit -c unlimited
$ ./eclipse
但下一个错误发生了:

(8.0_11-b12)(构建1.8.0_11-b12) Java虚拟机:Java热点(TM)64位服务器虚拟机(25.11-b03混合模式linux-amd64压缩oops) 有问题的框架: C[libgdk-x11-2.0.so.0+0x5173f]gdk\u显示打开+0x3f 核心转储已写入。默认位置:/home/abcdef/ECLIPSE\u JAVA/ECLIPSE/core或core.11276

我还试图通过添加以下内容来解决此问题:

-Dorg.eclipse.swt.browser.DefaultType=mozilla
到eclipse.ini,但没有帮助


有人能帮我解决这个问题吗?

尝试使用
-noSplash
选项从命令行启动Eclipse。
您的错误如下所示。

尝试按如下方式编辑eclipse.ini文件:

-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
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.GTK_version
2
--launcher.library
我在

根据以下公式导出SWT_GTK3=0

添加到eclipse.ini的两行:

--launcher.GTK_version
2
选项--launcher.GTK_version应该在--launcher.appendVmargs之前

TIBCO Jaspersoft®Studio-JasperReports的可视化设计器出现问题(对话框无法正常工作):

编辑Jaspersoft Studio.ini,如下所示:

-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
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.GTK_version
2
--launcher.library
或者在启动Jasper Studio(runubuntu.sh)之前添加以下内容:

从Oracle下载之后,我修改了eclipse.ini,并将其指向Oracle的Java7。然后我阅读了发布表单,并修改了eclipse.ini以指向正确版本的GTK。在这两个mod之后,eclipse在debian7中工作。如果您想使用JDK 8,我相信这仍然有效

-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.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.GTK_version
2
-vm
/opt/jdk/jdk1.7.0_67/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

在Debian Wheezy 7.6 64位上启动STS时,基于Eclipse的Sping工具套件(STS)和JDK 8也有同样的问题。正如其他答案所建议的那样,将这两行添加到init文件sts.ini(eclipse.ini)中就完成了这项工作

-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
“--launcher.GTK_版本 2“

这也是我的工作。Debian 7+STS 4.4.1,我必须在eclipse.ini中添加一行作为ccer添加。

关于Debian Wheezy 7.8(64位)&使用
eclipse
-
Luna 4.4.2
。harshrc对我的评论与我的情况最相关,并解决了撞车后启动屏幕问题。使用导出SWT_GTK3=0启动eclipse


试试看:
SWT_GTK3=0./eclipse
在看到这一点之后,我将它也指向了Java7,它是有效的。我也遇到了同样的问题,这个解决方案对我有效。谢谢!-->EclipseMars使用了相同的解决方案。在开普勒服务发行版2上工作过或是我。我的崩溃发生在调试运行期间。谢谢。为我工作(debian 7.8、EclipseLuna、java8、openbox)这也适用于debian Jessie和EclipseNeon。你完全重新获得了harshrc的答案。如果只做一个评论就更公平了。
-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.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.GTK_version
2
-vm
/opt/jdk/jdk1.7.0_67/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-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
# from CLI / prompt in eclipse folder:
export SWT_GTK3=0 ; ./eclipse