Java 初学者 - 在 Macbook Pro 上编码(黑莓应用程序构建)

发布于 2024-10-17 04:09:48 字数 327 浏览 1 评论 0原文

我刚刚开始自学 Java 编码,希望能够构建一些黑莓应用程序。

我想我应该:

  1. 学习基础知识。
  2. 购买一本黑莓应用程序构建书 - 学习如何获得
  3. 必要的软件 - 这就是我的问题开始的地方...

我是否使用 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:

  1. learn the basics.
  2. buy a blackberry app building book - learn the ropes
  3. 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 技术交流群。

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

发布评论

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

评论(3

刘备忘录 2024-10-24 04:09:48

我将分别回答您的每个问题。

  1. 是的,您已经掌握了应该如何学习的基础知识。最重要的是,在进行过多的开发之前了解 Java 语言的概念非常重要,因为理解这些概念可能是应用程序成功与失败的区别(这最终会令您灰心丧气,并可能导致您放弃)。
  2. 至于可以使用什么 IDE 进行编码,您可以使用 Eclipse (我个人最喜欢的),NetBeans,或者只是一个记事本。 Oracle 的 Java 开发工具包 (JDK) 提供了构建代码并使其运行实际所需的 Java 编译器。然而,一个可靠的 IDE 可以简化该过程并提供大量功能,使您的开发变得更加容易。
  3. 你在哪里发展并不重要。 Java 的一个主要优点是它与平台无关。您可以在 Mac 上编写 Java 代码,它可以在 PC 上运行,也可以在 Linux 上运行,等等。您所需要的只是适当的 JDK 来为该特定平台构建 Java。因此,不必担心这一点,只需使用最适合您需求的机器即可。

您可能想浏览一下 StackOverflow,并阅读一些有关 Java 的其他初学者问题。除此之外,我非常愿意出去买一本好的 Java 开发书籍 并阅读教程可以在线获取。

希望这有助于您入门。祝你好运,欢迎来到 StackOverflow!

I'll answer each of your questions separately.

  1. Yes, you have the basics of how you should learn. More than anything, it is important to understand the concepts of the Java language before you go too far in development because understanding those concepts can be the difference between a successful application and a failure (which will, ultimately, discourage you and perhaps cause you to give up).
  2. With respect to what IDE you can use to code, you can use Eclipse (my personal favorite), NetBeans, or, just a notepad. Oracle's Java Development Kit (JDK) is what provides the Java compiler that you actually need to build your code and get it to run. However, a solid IDE can ease the process as well as provide a large number of features to make your development much easier.
  3. It does not matter where you develop. A major advantage of Java is that it is platform independent. You can code Java on a Mac and it will work on a PC and it will work on Linux, etc, etc. All you need is the proper JDK to build Java for that specific platform. So, don't worry about that and work on the machine that is best suited for your needs.

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!

罪#恶を代价 2024-10-24 04:09:48

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?

陌上青苔 2024-10-24 04:09:48

您可以使用 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.

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