在 Mac OS X 上安装 BlackBerry Eclipse JDE 插件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/774832/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 13:39:53  来源:igfitidea点击:

installing BlackBerry Eclipse JDE plugin on Mac OS X

eclipsemacosblackberryjde

提问by Atma

Is it possible to install BlackBerry Eclipse JDE plugin on Mac OS X? I tried to install the plugin through the eclipse update and also by downloading the zip file from the BlackBerry site.

是否可以在 Mac OS X 上安装 BlackBerry Eclipse JDE 插件?我尝试通过 eclipse 更新以及从 BlackBerry 站点下载 zip 文件来安装该插件。

This is the most unintuitive process for getting set up in development environment. BlackBerry site does not make it easy.

这是在开发环境中进行设置的最不直观的过程。黑莓网站并不容易。

采纳答案by Richard

The supported Blackberry development arena is very Windows centric. The compiler (rapc) is a windows executable. I have zero Mac experience so I can't tell if this will help but this guy seems to have been successful compiling. There may be some help there.

受支持的 Blackberry 开发领域非常以 Windows 为中心。编译器 (rapc) 是 Windows 可执行文件。我的 Mac 经验为零,所以我不知道这是否有帮助,但这个人似乎已经成功编译了. 那里可能有一些帮助。

Good luck.

祝你好运。



Edit:while correct at the time the question was answered, since then, a Mac Eclipse plugin has been released. See other answers.

编辑:虽然在回答问题时是正确的,但从那时起,已经发布了 Mac Eclipse 插件。查看其他答案。

回答by Andy

As of today RIM offers a version of their development plugin for Mac OS. Check it out:

截至今天,RIM 为 Mac OS 提供了他们的开发插件版本。一探究竟:

https://developer.blackberry.com/java/download/#eclipse

https://developer.blackberry.com/java/download/#eclipse

回答by Dave Dopson

RIMM has released a MacOS Eclipse plug-in for Blackberry Development: http://na.blackberry.com/eng/developers/javaappdev/macosx.jsp

RIMM 发布了用于黑莓开发的 MacOS Eclipse 插件:http: //na.blackberry.com/eng/developers/javaappdev/macosx.jsp

While there is no built-in simulator, the plug-in DOES support USB tethered device debugging for the Torch 9800 handhelds. I plan to get one; they are ~$499 w/ no contract. With a Torch and the new plug-in, Blackberry development is possible without using a VM. (Finally!)

虽然没有内置模拟器,但该插件确实支持 Torch 9800 手持设备的 USB 系留设备调试。我打算买一个;它们是约 499 美元,没有合同。借助 Torch 和新插件,无需使用 VM 即可开发 Blackberry。(最后!)

see this post

看到这个帖子

回答by Arunabh Das

Yes. There are still no simulators on OS X so if you want to develop on mac, you need a physical device.

是的。OS X 上仍然没有模拟器,所以如果你想在 mac 上开发,你需要一个物理设备。

回答by Anthony Rizk

You can get some stuff working - such as compiling - but the simulator especially is a windows program. I run the BB Environment under VMWare Fusion on my Mac Book Pro.

你可以让一些东西工作 - 例如编译 - 但模拟器尤其是一个 Windows 程序。我在 Mac Book Pro 上的 VMWare Fusion 下运行 BB 环境。

And I couldn't agree more that they don't make it easy. I did a blog posta while back that may clear up some stuff (it does assume running under Windows though).

我完全同意他们并没有让它变得容易。不久前我写了一篇博客文章,可能会清除一些东西(尽管它确实假设在 Windows 下运行)。

回答by Cliff

Blackberry development on anything other than Windows is a chore. I was successful in getting RAPC version 4.3 to play nicely on OS X but anything older than 4.3 and it gets tricky. (If I had 35 hours in a day I could get it to work.) If you run with my solution for 4.3 then DO NOT, I repeat, DO NOT target anything older than OS 4.3. I could almost get the emulator running on OS X following a tutorial for Linux but I had trouble with X11 issues. I was also unsuccessful in getting the emulator to run on Mepis Linux most likely due to differing versions of Wine. With a little elbow grease you could get good development support on OS X by running an OTA server (using my modified Antenna support for deploying cod files) locally and opening a port to/from the www. Your compiler (4.3 and up), and your signature tool should work. Debug is a no-go and while Blackberry USB driver support on Linux is still not done (to my limited knowledge), you'll need to do OTA loads instead of the speedier Javaloader.exe. My advice is to use the Eclipse plugin for WTK (if it works by now on OS X) and design the general look/feel of your app. Then do local deploys and test on device. There's always VMWare/Parallels/Virtual Box for the other stuff.

在 Windows 以外的任何设备上开发 Blackberry 都是一件苦差事。我成功地让 RAPC 4.3 版在 OS X 上很好地运行,但任何比 4.3 更旧的东西都会变得棘手。(如果我一天有 35 小时,我可以让它工作。)如果你使用我的 4.3 解决方案运行,那么不要,我再说一遍,不要针对比 OS 4.3 更旧的任何东西。按照 Linux 教程,我几乎可以让模拟器在 OS X 上运行,但我遇到了 X11 问题。我也没有成功让模拟器在 Mepis Linux 上运行,这很可能是因为 Wine 版本不同。通过在本地运行 OTA 服务器(使用我修改后的天线支持部署 cod 文件)并打开一个到/从 www. 您的编译器(4.3 及更高版本)和您的签名工具应该可以工作。调试是行不通的,虽然 Linux 上的 Blackberry USB 驱动程序支持仍未完成(据我所知),您需要进行 OTA 加载,而不是速度更快的 Javaloader.exe。我的建议是为 WTK 使用 Eclipse 插件(如果它现在可以在 OS X 上工作)并设计您的应用程序的一般外观/感觉。然后在设备上进行本地部署和测试。其他东西总是有 VMWare/Parallels/Virtual Box。

回答by Cliff

"RIMM has released a MacOS Eclipse plug-in for Blackberry Development: h t t p : //na.blackberry.com/eng/developers/javaappdev/macosx.jsp"

“RIMM 发布了一个用于黑莓开发的 MacOS Eclipse 插件:http : //na.blackberry.com/eng/developers/javaappdev/macosx.jsp”

If you download, unzip, there will be a message on macosx 10.7: the powerpc app isn't supported. :)

如果下载解压,macosx 10.7 会提示:不支持powerpc 应用。:)

So those Intel based ( iPhone development machines ) aren't supported, as native.

所以那些基于 Intel 的(iPhone 开发机器)不被支持,因为它是原生的。

screenshot

截屏

If you download the Eclipse plugin from plugin site: http://www.blackberry.com/go/eclipseUpdate/3.6/javathey will install a plugin for 5.0 and 7.0 ( couldn't see 6.0) and after Restart will not be available the Blackberry application wizard ( it seems it is completely useless on mac on windows it is working)

如果您从插件站点下载 Eclipse 插件:http: //www.blackberry.com/go/eclipseUpdate/3.6/java他们将为 5.0 和 7.0(看不到 6.0)安装一个插件,并且在重新启动后将不可用黑莓应用程序向导(它在 Windows 上的 mac 上似乎完全没用,它正在工作)

As I see right now you must have windows or in Parallel, or in WM or Bootcamp, not sure about Wine. Also there were a post with SSD is running acceptable speed ( faster than in native windows, but HDD). I didn't tested. Doesn't worth the fworberry development a windows retail license.

正如我现在看到的,你必须有 windows 或 Parallel,或者在 WM 或 Bootcamp,不确定 Wine。还有一篇关于 SSD 运行速度可接受的帖子(比原生 Windows 快,但比 HDD 快)。我没有测试。不值得 fworberry 开发 Windows 零售许可证。