如何将 BlackBerry v5.0.0 组件包安装到 Eclipse 中?

发布于 2024-08-14 06:01:24 字数 1144 浏览 4 评论 0原文

我正在尝试使用 BlackBerry Eclipse 插件 v1.0.0.67 将最新的 v5.0.0“beta 2”BlackBerry OS Component Pack 安装到 Eclipse 3.4.2 中,但遇到了一些问题。有没有人找到一种简单的方法来做到这一点?

我在安装 v4.5.0 和 v4.7.0 组件包

相当奇怪的是,BlackBerry 正在运送安装了 v5.0.0 操作系统的新手机(例如我刚刚购买的 Storm 2 9550 和 Bold 9700),并将更新推送到手机,同时 BlackBerry 网站 仍然认为 v5.0.0 SDK/组件包是“beta 2”!如果有人知道何时发布可能解决我的问题的官方非测试版组件包...

如果它有帮助,到目前为止我遇到的问题是:
- 与 BlackBerry 网站 上的含义相反,Eclipse v5.0.0 组件包声明的“软件更新...”选项它仅适用于 v1.0.0 Eclipse BlackBerry 插件,不适用于新的 v1.1 插件。
- 然后我尝试使用 v1.0.0 Eclipse BlackBery 插件通过 Eclipse 中的“软件更新...”菜单安装 v5.0.0 组件包。下载完 200MB 后,安装失败,并出现“无效的 zip 文件格式”错误。
-我可能只是运气不好,下载损坏了,但我确实尝试了两次,一次是通过“软件更新...”,一次是选择“存档”来安装下载的组件包(这与 v4.5.0 和 v4.7.0 不同)是 JAR,而不是 ZIP)。

I'm trying to install the latest v5.0.0 "beta 2" BlackBerry OS Component Pack into Eclipse 3.4.2 with BlackBerry Eclipse plugin v1.0.0.67, but have hit a few problems. Has anybody found an easy way to do this?

I had no trouble installing the v4.5.0 and v4.7.0 Component Packs.

It's rather strange that BlackBerry are shipping new phones with the v5.0.0 OS installed (e.g. a Storm 2 9550 and Bold 9700 that I just bought), and pushing that update to phones whilst the BlackBerry website still considers the v5.0.0 SDK / Component Packs to be "beta 2"! If anybody knows when an official non-beta Component Pack is going to be released that might solve my problem...

In case it helps, the problems I've hit so far are:
-Contrary to the implication on the BlackBerry website, the Eclipse "Software Update..." option for the v5.0.0 Component Pack claims it only works on the v1.0.0 Eclipse BlackBerry plugin, not the new v1.1 one.
-I then tried to install the v5.0.0 Component Pack through the "Software Updates..." menu in Eclipse using the v1.0.0 Eclipse BlackBery plugin. Once I'd done the 200MB download the install failed with a "Invalid zip file format" error.
-I might just have been unlucky with a corrupted download but I did try it twice, once through "Software Updates..." and once by selecting "Archive" to install the downloaded Component Pack (which unlike v4.5.0 and v4.7.0 was a JAR, not a ZIP).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

惟欲睡 2024-08-21 06:01:24

使用 Eclipse 3.5.1 和 1.1 组件包,我可以轻松地从 Eclipse 内的 1.1 组件包更新站点安装 5.0 JDE - 即:使用更新站点 http://www.blackberry.com/go/eclipseUpdate/3.5/java ...
黑莓可能已经解决了您在最新测试版中遇到的任何问题,或者最新版本的 Eclipse 工作得更好......但无论如何,我希望您已经让您的设置正常工作,但如果没有,也许可以尝试再次使用最新版本将会修复问题!

Using Eclipse 3.5.1 and the 1.1 component pack, I had no trouble installing the 5.0 JDE from the 1.1 component pack update site from within Eclipse - ie: using the update site http://www.blackberry.com/go/eclipseUpdate/3.5/java ...
It could be possible that Blackberry has fixed whatever problem you encountered in their latest beta, or the latest version of Eclipse just works better...but at any rate, I hope you've gotten your setup working, but if not, perhaps trying again with the latest versions will fix things!

苯莒 2024-08-21 06:01:24

他们(rim 支持)确实在网站上供您安装的 zip 上遇到了一些问题。
请参阅 此线程

如果您在 无效的 zip 文件格式 之前看到 未实现的未连接套接字,例如:

osgi.bundle,net.rim.eide.doc,1.0.0.67.
    Exception connecting to
    https://www.blackberry.com/Downloads/auth/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
    Unconnected sockets not implemented Exception connecting to
    https://www.blackberry.com/Downloads/auth/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
    Unconnected sockets not implemented
  Error closing the output stream for
  net.rim.eide.feature.componentpack4.3.0/org.eclipse.update.feature/4.3.0.16
  on repository file:/C:/eclipse/.  Error unzipping
  C:\DOCUME~1\tysonl\LOCALS~1\Temp\net.rim.eide.feature.componentpack4.3.0_4.3.0.169073623197643742544.jar:
  Invalid zip file format Error closing the output stream for
  net.rim.eide.feature.componentpack4.5.0/org.eclipse.update.feature/4.5.0.16

,则支持人员会提到:

未实现未连接的套接字”是由当前版本的 JDK 1.6 中的错误引起的。
您可以通过降级到 JDK 1.5(修改 PATH 和 JAVA_HOME 变量)来安装插件来解决此问题。您可能还需要删除 Windows 临时文件夹中的文件(Eclipse 可能缓存了该文件的错误副本)。
这应该在 JDK 1.6 update 14 中得到修复。

(那么您使用的是哪个版本的 java?)

正如同一线程中提到的:

<块引用>

以下内容来自“blackberry plugin for eclipse”下载页面:

建议北美以外的用户或在 BlackBerry 更新站点遇到问题的用户使用下面的链接手动下载并安装组件。

是的,我读过那一点。这本质上就是我试图做的。但这并没有说明您需要从站点列表中删除更新站点,然后才能尝试通过存档功能安装手动下载。

They (rim support) did experience some issue with the zip they have on the site for you to install.
See this thread

If you see Unconnected sockets not implemented just before your Invalid zip file format, like:

osgi.bundle,net.rim.eide.doc,1.0.0.67.
    Exception connecting to
    https://www.blackberry.com/Downloads/auth/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
    Unconnected sockets not implemented Exception connecting to
    https://www.blackberry.com/Downloads/auth/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=A7B283681EA93067610F5EE0EEB46A29.
    Unconnected sockets not implemented
  Error closing the output stream for
  net.rim.eide.feature.componentpack4.3.0/org.eclipse.update.feature/4.3.0.16
  on repository file:/C:/eclipse/.  Error unzipping
  C:\DOCUME~1\tysonl\LOCALS~1\Temp\net.rim.eide.feature.componentpack4.3.0_4.3.0.169073623197643742544.jar:
  Invalid zip file format Error closing the output stream for
  net.rim.eide.feature.componentpack4.5.0/org.eclipse.update.feature/4.5.0.16

, the support mentions:

The "Unconnected sockets not implemented" is caused by a bug in current versions of JDK 1.6.
You can work around this by downgrading to JDK 1.5 (modify your PATH and JAVA_HOME variables) to install the plug-ins. You may need to delete the files in your windows temp folder as well (Eclipse could have cached bad copies of the file).
This should be fixed in JDK 1.6 update 14.

(so what version of java are you using?)

As mentioned in the same thread:

The following is from the "blackberry plugin for eclipse" download page:

It is recommended that users outside of North American or users who have experienced problems with the BlackBerry update site use the links below to manually download and install the components.

Yep, I've read that bit. That's essentially what I tried to do. What that doesn't say is you need to remove the update site from your site list before trying to install the manual downloads via the archive function.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文