完全迷失在 Blackberry JDE for Eclipse 中

发布于 2024-08-02 18:58:58 字数 961 浏览 4 评论 0原文

我是认真的。我为 Eclipse 安装了 Blackberry Web Developer 的东西(很愚蠢,没有看到“Web”部分)。然后,当我意识到自己的错误时,我去获取了 Eclipse 的 JDE。我完成了安装过程...打开 Eclipse...然后我迷路了。我不知道如何运行代码......或模拟器,或任何东西。

我找到的所有教程都引用了 Eclipse 插件的较旧“beta”版本,该插件显然有一个“Blackberry”菜单选项。我没有看到这一点。

我找到了一些示例代码,其中提供了有用的说明:

“1.提取HelloWorld_incomplete.zip 2. 在 IDE 中,打开 helloworld.jdw 工作区 3. 打开helloworld.java源文件。 “

...我以前从未见过 .jdw 文件。如果我尝试在 Eclipse 中打开它,我会得到一个不是很有用的文本文件。因为他们说这是一个工作区,所以我尝试了“切换工作区”选项Eclipse,它让我选择一个文件夹,而不是一个文件,

我很确定“导入项目”也不正确,

所以我想稍后再处理这个问题,所以我打开了源代码(我尝试运行它,但它要求一个 Ant 构建文件,

我可以很好地运行标准 Java 文件(也就是说,我知道 Java 在我的路径中)

。不知道我是否没有正确的黑莓部分......或者它是否在日食方面我失败了

有人有任何想法吗?

-Jenny

编辑:为了确定,我尝试下载该插件。通过 eclipse 及其提供的链接 (http://www.blackberry.com/go/eclipseUpdate ),但是 eclipse 说它在期望 .zip 文件时得到了 .jar 文件,因此出错了。你甚至可以解压缩一个 jar 文件(就像 Eclipse 试图做的那样吗?)

I'm serious. I installed the Blackberry web developer thing for eclipse (being stupid, and not seeing the 'web' part). Then, when I realized my mistake, I went and got the JDE for Eclipse. I went through the install process....open up Eclipse...and I'm lost. I don't know how to run code...or the simulator, or anything.

All the tutorials I'm finding are referencing an older "beta" version of the Eclipse plugin, which apparently had a "Blackberry" menu option. I'm not seeing that.

I found some sample code, which gives the helpful instructions:

"1. Extract HelloWorld_incomplete.zip
2. In the IDE, open the helloworld.jdw workspace
3. Open the helloworld.java source file.
"

...I've never seen a .jdw file before. If I try opening it in Eclipse, I get a not-very-useful text file. Since they say it's a workspace, I try the "Switch Workspace" option in Eclipse, which lets me pick a folder, rather than a file.

I'm pretty sure "Import Project" isn't right, either.

So, I figure I'll deal with that later, so I open up the source code (a standard .java file, with a main, etc). I try running it, but it asks for an Ant build file.

I can run standard Java files just fine (that is, I know Java is in my path).

I don't know if maybe I don't have the Blackberry part right...or if it's on the eclipse side where I'm failing.

Does anyone have any ideas?

-Jenny

Edit: Just to be sure, I tried downloading the plugin through eclipse with their provided link (http://www.blackberry.com/go/eclipseUpdate), but eclipse says that it got a .jar file when it was expecting a .zip file, and so it errored. Can you even unzip a jar file (like Eclipse is trying to do?)

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

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

发布评论

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

评论(2

世界和平 2024-08-09 18:58:58

听起来你的包有错。

我昨天通过 http://na 上的“立即下载”按钮安装了它。 blackberry.com/eng/developers/javaappdev/javaeclipseplug.jsp
它有菜单选项和黑莓项目类型。

如果您获得正确的安装程序,它应该有一个安装程序。我会发布一个直接链接,但 RIM 喜欢在允许下载之前询问您的信息。

尝试将其安装到不同的目录并使用新的工作区。可能是旧安装以某种方式干扰了。

-希望有帮助

It sounds like you have the wrong package.

I installed it yesterday from the "Download Now" button at http://na.blackberry.com/eng/developers/javaappdev/javaeclipseplug.jsp
and it had both the menu option and the Blackberry project type.

It should have an installer if you get the correct one. I would post a direct link, but RIM likes to ask for your info before allowing the download.

Try installing it to a different directory and using a new workspace. It could be that the old install is interfering somehow.

-Hope that helps

春风十里 2024-08-09 18:58:58

如果您想了解在 eclipse 中安装 jde 插件的步骤,您可以访问 http://learn.virtue-software.com/2011/05/quick-start-creating-blackberry-application-with-eclipse/

if you want to know step by step to install the jde plugin in eclipse you can visit http://learn.virtue-software.com/2011/05/quick-start-creating-blackberry-application-with-eclipse/

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