是否建议下载并使用 JDK7?
我是一年级工程专业的学生,我在大学使用 J2SE 1.3(我知道,令人震惊!) 编写代码,在家里使用 Java SE 6 编写代码。我刚刚访问 Java 网站手动下载 Java SE 6 update 24,并了解到 JDK 7 开发人员访问权限可供下载。现在我应该更新到 Java SE 6 update 24(我现在正在使用 Java SE 6 update 23)还是应该继续下载 JDK 7?另外,如果我下载 JDK 7,Eclipse 是否支持它,或者 Netbeans IDE 是唯一支持 JDK 7 的吗?我仅使用 Java 来制作完全文本且本地化的应用程序,不涉及 GUI 或 Web。那么,是否值得选择开发者版本而不是稳定版本呢?
编辑:我在家使用 Eclipse Helios v3.6.2 + Java SE 6 update 23,在大学使用 Kawa IDE(不知道哪个版本)+ J2SE 1.3
I'm a first year engineering student and I use J2SE 1.3 (I know, shocking!) in college to write code and Java SE 6 at home to write code. I just visited the Java website to manually download Java SE 6 update 24 and read that JDK 7 developer access is available for download. Now should I update to Java SE 6 update 24 (I'm using Java SE 6 update 23 right now) or should I go ahead and download JDK 7? Also, if I download JDK 7, does Eclipse support it or is the Netbeans IDE the only one to support JDK 7? I use Java only to make applications that are entirely textual and localised, no GUI or web involved. So is it worth choosing the developers edition over the stable edition?
Edit: I use Eclipse Helios v3.6.2 + Java SE 6 update 23 at home and Kawa IDE (no clue which version) + J2SE 1.3 in college
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我建议您选择稳定版本,因为您是学生。 JDK 7 仍处于预览版本。因此,只需下载稳定版本并先学习 Java,然后就应该去预览版本。
至于IDE我建议你使用Eclipse。我不知道他们是否宣布支持 JDK 7。但它会影响你。 Eclipse 支持 JDK 6。
只需使用 Eclipse + JDK 6。
I will advise you to go for stable version as you are a student. JDK 7 is still in preview release. So just download stable version and learn Java first then you should go for preview release.
As for the IDE I will suggest you to use Eclipse. I don't know whether they have announced support for JDK 7 or not. But it will affect you. Eclipse support JDK 6.
Just go for Eclipse + JDK 6.
其他人关注的是您在家中的选择。我想说,与您的大学讨论为什么他们仍在使用 Java 1.3 更为重要 - 它已经有 10 多年的历史了,与现代 Java 相比令人难以置信慢,并且确实没有帮助你和你的同学。 Kawa IDE 也已经停产多年了。
您应该专注于学习如何开发代码,而不是被迫与古老的环境作斗争。
您的机构可以免费获得完整的现代套件(Java 6、Eclipse 或其他 IDE)——事实上,这将使他们的生活变得更轻松,因为现代套件提供的在线支持数量要多得多。
您没有说您在世界的哪个地方,但您附近可能有一个 Java 用户组 (JUG),他们很可能能够帮助您的大学升级系统。它可以让你的课程(以及你之后的学生的课程)变得更加容易。
Other people have focused on your choices at home. I would say it's far more important to have a conversation with your college as to why they're still using Java 1.3 - it's over 10 years old, is incredibly slow compared to modern Javas and is really not helping you and your fellow students. Kawa IDE has also been discontinued for many years.
You should be focusing on learning how to develop code, not being forced to fight an ancient environment.
A complete modern suite (Java 6, Eclipse or another IDE) is available at no cost to your institution - and in fact it will make their lives easier, as the amount of online support available for a modern suite is musch greater.
You don't say where in the world you are, but you probably have a Java User Group (JUG) near you who may well be able to help your college get their systems upgraded. It could make your course (and that of the students who come after you) so much easier.
我会说不,因为你还处于起步阶段。即使从 Java SE 6 更新 23 更新到 24,在现阶段也没有什么区别。
I would say no since you are at starting stage. Even updating from Java SE 6 update 23 to 24 does not make a difference at this stage.
我每天下载并使用 Java 7(一个用于客户测试的版本),没有任何特别的评论,但这很自然,因为我想确保它确实可以像那样工作。我将它与 Eclipse 3.6.2 一起使用,没有任何问题。
对于“我只是想让它工作”,请按照 http://java.com 下载页面的建议获取最新的官方版本。安装后,您应该在更新机制提示时升级您的安装(可能会要求立即检查)。
我建议您只使用您认为应该使用的 JRE http://java.com ,然后在其上运行 Eclipse。 Eclipse 只需要 JRE,而不是 JDK。 Netbeans 需要 JDK,因为这是编译器所在的位置,因此只需获取已知可以工作的组合下载即可。
如果您确实愿意,可以稍后再讨论 Java 版本的乏味细节。对于基本开发来说,不需要。
I downloaded and use on a daily basis a Java 7 (a release build intended for customer testing) without any particular comments, but that was naturally because I wanted to be assured that it did work like that. I use it with Eclipse 3.6.2 without any issues.
For "I just want it to work" get the latest official build as recommended by the http://java.com download page. When installed you should upgrade your installation when the update mechanism prompts you to (it can be asked to check now).
I would suggest you just take the JRE http://java.com thinks you should use, and then run Eclipse on that. Eclipse just needs a JRE, not a JDK. Netbeans need a JDK because that is where the compiler lives, so just grab a combined download which is known to work.
You can go into the tedious details of Java versions later if you really feel like it. For basic development it is not needed.