简体   繁体   English

如何将JDK 6补丁应用于JBoss

[英]How to apply JDK 6 patch to JBoss

I have JBoss 4.2.0GA which primarily does not support JDK 6. I found JBossWithJDK6 Patch . 我有主要不支持JDK 6的JBoss 4.2.0GA。我找到了JBossWithJDK6 Patch How can I apply this patch. 我如何应用此补丁。 I have ant installed in Ubuntu. 我在Ubuntu中安装了ant。 Thanks in advance. 提前致谢。

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. 您需要下载JBoss源代码,应用补丁并编译自己的JBoss版本。 It's probably a lot easier to just install JDK5. 这可能是一个更容易只安装JDK5。 ;-) ;-)

RedHat do not officially support Java6 with JBossAS 4.2.x, but that doesn't mean it doesn't work - it actually works fine. RedHat并未正式支持JBossAS 4.2.x的Java6,但这并不意味着它不起作用-实际上工作正常。 The patch you mentioned is to allow you to build JBoss from source against Java6, you shouldn't need it just to run it. 您提到的补丁程序是为了使您可以针对Java6从源代码构建JBoss,您不应该只需要运行它就可以使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM