我已根据链接下载import.io,
https://import.io/download/linux。如上所述,我已经提取并进入终端中的文件夹import.io
。但是当我尝试运行./import.io
时,我收到了这个错误(如下所示)。请建议我解决这个问题。感谢您的帮助。
我使用的是Ubuntu 12.04。
Java版
java版“1.7.0_51”
Java(TM)SE运行时环境(版本1.7.0_51-b13)
Java HotSpot(TM)64位服务器VM(内置24.51-b03,混合模式)
错误
Starting application...
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xdedda7e4, pid=12312, tid=4149622464
#
# JRE version: 7.0_09-b05
# Java VM: Java HotSpot(TM) Client VM (23.5-b02 mixed mode linux-x86 )
# Problematic frame:
# C [libdbus-1.so.3+0x277e4]
[error occurred during error reporting (printing problematic frame), id 0xb]
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/user/import.io/hs_err_pid12312.log
# [ timer expired, abort... ]
Aborted (core dumped)
这是日志
!SESSION 2014-04-25 14:25:17.199 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.eclipse.osgi 4 0 2014-04-25 14:25:17.712
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:4387)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:914)
at org.eclipse.swt.widgets.Display.create(Display.java:900)
at org.eclipse.swt.graphics.Device.<init>(Device.java:156)
at org.eclipse.swt.widgets.Display.<init>(Display.java:498)
at org.eclipse.swt.widgets.Display.<init>(Display.java:489)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1634)
at com.importio.builder.bootstrap.ui.SwtUI.<init>(SwtUI.java:74)
at com.importio.builder.bootstrap.ui.SwtUI.run(SwtUI.java:41)
at com.importio.builder.bootstrap.BootstrapApplication.start(BootstrapApplication.java:35)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
修改
当我尝试按照Anone Mosh在评论部分中的建议运行脚本时,Here是我的错误。请参阅日志。
日志
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xded37b12, pid=5628, tid=3739306816
#
# JRE version: 7.0_09-b05
# Java VM: Java HotSpot(TM) Client VM (23.5-b02 mixed mode linux-x86 )
# Problematic frame:
# C [libdbus-1.so.3+0x29b12]
答案 0 :(得分:5)
Java在调用dbus以检测您可能已设置的任何HTTP代理时遇到问题。你有任何代理人吗?如果不是,您可以通过将以下行添加到以下文件来关闭此检测:
<where you extracted the application to>/import.io/import.io.ini
这是您需要添加到文件中的行:
-Dupdate.useSystemProxy=false
答案 1 :(得分:1)
错误的原因是因为您使用的是64位的Linux版本。按照说明进行操作,您将不会遇到任何错误。 http://support.import.io/knowledgebase/articles/254346-linux-installation-notes
答案 2 :(得分:1)
此解决方案适合我: 编辑文件/eclipse/eclipse.ini。 插入行: -Dorg.eclipse.swt.browser.DefaultType = M