WebSphere Application Server 6.1 是否支持 Java 1.6?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2579153/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 21:52:59  来源:igfitidea点击:

WebSphere Application Server 6.1 support for Java 1.6?

javajdk1.6websphere-6.1

提问by El Sid

Can I use Java 1.6 with WebSphere Application Server 6.1? IBM's website says no.

我可以将 Java 1.6 与 WebSphere Application Server 6.1 一起使用吗?IBM的网站上说没有

But I require Java 1.6 for a software application to be deployed and I cannot currently upgrade to Websphere 7.0, or use a different application server (WAS 6.1 is the org standard).

但我需要 Java 1.6 才能部署软件应用程序,而且我目前无法升级到 Websphere 7.0,或使用不同的应用程序服务器(WAS 6.1 是组织标准)。

what are my options?

我有哪些选择?

Thanks.

谢谢。

回答by Pascal Thivent

Nobody can stop you from trying to run WAS 6.1 with Java 6 but this configuration IS NOT SUPPORTED by IBM and according to this thread, I'm not even sure you'll be able to start WAS.

没有人可以阻止您尝试使用 Java 6 运行 WAS 6.1,但 IBM 不支持此配置,根据此线程,我什至不确定您是否能够启动 WAS。

回答by ring bearer

Since websphere 6.1 does not support J2SE 6, your options are very limited.

由于 websphere 6.1 不支持 J2SE 6,您的选择非常有限。

option 1

选项1

  • Talk to your upper management & convince them the need to switch to WAS 7.0
  • 与您的高层管理人员交谈并说服他们需要切换到 WAS 7.0

option 2

选项 2

  • Downgrade your code compatibility to 1.5 and compile for J2SE 5.0
  • 将您的代码兼容性降级到 1.5 并针对 J2SE 5.0 进行编译

option 3

选项 3

  • If you have a support contract with IBM, open a high priority ticket for getting 1.6 support on WAS 6.1
  • 如果您与 IBM 签订了支持合同,请打开一张高优先级票以获得关于 WAS 6.1 的 1.6 支持