繁体   English   中英

使用某些插件定制的Eclipse 3.5无法在目标计算机上启动

[英]Eclipse 3.5 customized with some plugins fails to start on target machine

我一直在使用某些特定的插件(CDT,AVR开发)创建定制的Eclipse版本,并在我的机器上成功配置和测试后,将eclipse-Folder压缩并发送给我的客户端以安装到目标机器上。

但是,当他尝试启动Eclipse时,他在日志文件中收到以下错误:

    !SESSION 2010-06-28 19:24:57.856 -----------------------------------------------eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.osgi 4 0 2010-06-28 19:24:58.870
!MESSAGE Bundle reference:file:org.eclipse.equinox.simpleconfigurator_1.0.101.R35x_v20090807-1100.jar@1:start not found.

!ENTRY org.eclipse.osgi 4 0 2010-06-28 19:24:58.886
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

看起来有些文件丢失或配置错误,但是我无法重现该错误。 我移走了工作区,将Eclipse文件夹移到了另一个位置,并尝试了另一个用户帐户下的所有内容。

有谁知道为什么这可以在我的机器上运行(这是普通的Win7安装),但在他的机器上(也就是Win7全新安装)失败了吗?

仅供参考,这是配置文件,可在我的计算机上运行:

#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Thu Jun 10 14:10:03 CEST 2010
org.eclipse.update.reconcile=false
eclipse.p2.profile=epp.package.cpp
osgi.instance.area.default=@user.home/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.101.R35x_v20090807-1100.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.framework.extensions=
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=@config.dir/../p2/
eclipse.application=org.eclipse.ui.ide.workbench

非常感谢您的任何帮助,谢谢! :)

您是否正在使用.product来生成定制的Eclipse构建? 还是要向现有Eclipse构建中添加插件?

无论哪种方式,我都建议在与开发箱不同的机器上准确地解压缩您发送给客户的内容。 它可能会给您一个更好的机会来重现该问题。

根据跟踪,正在使用该产品“ org.eclipse.epp.package.cpp.product”。 我的猜测是,您的zip缺少定义该产品引用的Application的插件,或者缺少其依赖项之一。

如果将-console和-noExit添加为命令行参数,则可以进入OSGi提示符。 然后,您可以键入“ ss”以查看所有捆绑软件的状态。 如果您随后为所有已解析的捆绑软件输入“ start”,则可以查看为什么它们没有启动。 如果您没有其他想法,这种调试可能会有所帮助。

在运行中的系统和未运行的系统上使用“ ss”命令将有助于确定您是否丢失了任何捆绑软件或捆绑软件处于不同状态。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM