您使用哪个供应商的JDK构建是否重要? [英] Does it matter which vendor's JDK you build with?

查看:860
本文介绍了您使用哪个供应商的JDK构建是否重要?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用WebSphere 6.1(Java 1.5)部署到服务器,我应该在构建盒上使用IBM的JDK吗?或者Sun的JDK会编译成相同的二进制文件吗?

If I'm deploying to servers with WebSphere 6.1 (Java 1.5), should I use IBM's JDK on my build box? Or will Sun's JDK compile to the same binary?

如果我应该使用IBM,我在哪里可以获得Windows x64版本?

If I should use IBM's, where can I get the Windows x64 version?

推荐答案

我会尽可能地尽量保持开发尽可能接近生产。 Ibm和Sun的JDK当然都满足SDK认证,但它们绝不相同。他们的仪器和内存管理至少略有不同。如果不出意外,JDK中的错误将会有所不同,您的代码可能只会在一种情况下与另一种情况相遇。它也可能只发生在凌晨4点,尤其是当你的公司结束时月亮已经满了。

I would as much as possible try to keep development as close to production as possible. Ibm and Sun's JDK's certainly both satisfy the SDK certification, but they are by no means identical. Their instrumentation and memory management are at least slightly different. If nothing else, the bugs in the JDK will be different, which your code may only trip over in one scenario vs. another. It'll also probably only happen at 4 am, and when the moon is full especially when you have company over.

我无法告诉你从哪里获得IBM的jdk ,但如果你的公司获得了websphere的许可,你应该在IBM有一个联系人,以获得一个JDK的链接。

I can't tell you where to get IBM's jdk, but if you've got a license to websphere at your company, you should have a contact at IBM to get you a link to that JDK.

祝你好运,总是尽可能减少差异。

Good luck, and always try to minimize differences where possible.

这篇关于您使用哪个供应商的JDK构建是否重要?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆