Java 初学者 - 在 Macbook Pro 上编码(黑莓应用程序构建)
我刚刚开始自学 Java 编码,希望能够构建一些黑莓应用程序。
我想我应该:
- 学习基础知识。
- 购买一本黑莓应用程序构建书 - 学习如何获得
- 必要的软件 - 这就是我的问题开始的地方...
我是否使用 Eclipse 作为 IDE? Java API 怎么样?请记住,我是一个完全的新手,所以我的行话可能有点……嗯……错误。但是,我认为这两件事情只是第一步,不是吗?
最重要的是,我是否应该尝试在 Macbook Pro 上编写代码?或者我应该坚持使用 IBM 兼容的产品并从中学习?
感谢您的帮助!
I'm just beginning to teach myself Java coding, in hopes of building a few blackberry apps.
I assume I should:
- learn the basics.
- buy a blackberry app building book - learn the ropes
- acuqire necessary software - here's where my questions begin...
Do I use Eclipse as the IDE? What about the Java API? Remember, I'm a complete newb, so my jargon may be somewhat...well...wrong. But, I think these two peices are initial steps, no?
And most importantly, should I even be trying to code on my Macbook Pro? Or should I stick to my IBM compatibable, and learn from there?
Thanks for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我将分别回答您的每个问题。
您可能想浏览一下 StackOverflow,并阅读一些有关 Java 的其他初学者问题。除此之外,我非常愿意出去买一本好的 Java 开发书籍 并阅读教程可以在线获取。
希望这有助于您入门。祝你好运,欢迎来到 StackOverflow!
I'll answer each of your questions separately.
You may want to browse around StackOverflow for a bit and read up on some of the other beginner questions on Java. Other than that, I would highly going out and getting a good Java development book and reading the tutorials that are available online.
Hope that helps get you started. Good luck and welcome to StackOverflow!
Mac OS X 上的 Blackberry 开发
适用于 OS X 的新 Eclipse Blackberry 插件没有模拟器,因此如果您想要调试,您将需要连接一个实际的 Blackberry(或从 Windows 虚拟机运行模拟器)。
Blackberry 使用 Java ME 和一些 rim 类(net.rim 命名空间)。
文档位于此处 http://www.blackberry.com/developers/docs /6.0.0api/index.html
请注意,仅仅因为存在与常规(java SE)类同名的类,并不意味着它具有所有相同的功能。
另外为什么要专门针对黑莓进行开发呢?
Blackberry Development on Mac OS X
The new eclipse blackberry plugin for OS X does not have a simulator so if you want ot debug you will need to hook up an actual blackberry(or run the simulator from a windows vm).
Blackberry uses Java ME and some rim classes(net.rim namespace).
Documentation is here http://www.blackberry.com/developers/docs/6.0.0api/index.html
Note that just because a class with the same name as a regular(java SE) class is there does not mean it has all of the same functionality.
Also why do you want to develop for the blackberry specifically?
您可以使用 Eclipse 作为 IDE,它肯定可以完成这项工作。我自己偏爱 Netbeans,它也能完成这项工作。 XCode 是 Apple 自己的 IDE,据我所知你可以用它进行 Java 开发(它是自从我上次使用它以来已经有一段时间了)。最后,我从其他来源听说 IntelliJ 可能值得考虑。
特别需要注意的是,所有这些都可以在 Mac 上正常工作,因此绝对没有必要迁移到其他平台(Windows 等),除非您愿意。根据我的经验,Eclipse 和 Netbeans 都可以在 PC 上运行,因此如果您决定更换到 PC,可以考虑这些。另一方面,XCode 并未针对 PC 发布。我不知道 IntelliJ。
至于 Java API,所有这些 IDE 都应安装 Java 开发工具包 (JDK )安装时。这包括您入门所需的所有 API 文件、编译器、工具和文档。
You can use Eclipse as an IDE, it would certainly do the job. I'm partial to Netbeans myself, and it would do the job too. XCode is Apple's own IDE, and from what I hear you can do Java development with it (it's been a while since I last used it). Finally, I hear from other sources that IntelliJ might be worth considering.
Particularly important to note is that all of these work fine on a Mac, so there's absolutely no need to move to a different platform (Windows, etc) unless you want to. I know from experience that both Eclipse and Netbeans both work on a PC, so you could consider those if you do decide to change to PC. XCode isn't released for PC on the other hand. I don't know about IntelliJ.
As for the Java API, all of these IDEs should install a copy of the Java Development Kit (JDK) when they are installed. This includes all of the API files, compilers, tools and documentation you should need to get started.