如何给JBoss打JDK 6补丁
我有 JBoss 4.2.0GA,它主要不支持 JDK 6。我找到了 JBossWithJDK6 补丁。我该如何应用这个补丁。我在 Ubuntu 中安装了 ant。提前致谢。
I have JBoss 4.2.0GA which primarily does not support JDK 6. I found JBossWithJDK6 Patch. How can I apply this patch. I have ant installed in Ubuntu. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 diff 工具来应用补丁(在文本编辑器中打开它以查看详细信息)。
您需要下载 JBoss 源代码、应用补丁并编译您自己的 JBoss 版本。仅安装 JDK5 可能容易很多。 ;-)
You can use a diff tool to apply the patch (open it in a text editor to see the details).
You'll need to download the JBoss source, apply the patch and compile your own version of JBoss. It's probably a lot easier to just install JDK5. ;-)
RedHat 并未正式支持 Java6 和 JBossAS 4.2.x,但这并不意味着它不起作用 - 它实际上运行得很好。您提到的补丁是为了允许您根据 Java6 从源代码构建 JBoss,您不应该仅仅为了运行它而需要它。
RedHat do not officially support Java6 with JBossAS 4.2.x, but that doesn't mean it doesn't work - it actually works fine. The patch you mentioned is to allow you to build JBoss from source against Java6, you shouldn't need it just to run it.