如何使用自己的 JDK 版本配置 JBoss? [英] How to configure JBoss with its own version of JDK?

查看:65
本文介绍了如何使用自己的 JDK 版本配置 JBoss?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Java Web 应用程序 (WAR),它需要旧版 (1.5.11) 的 JRE,但我使用的是 Linux,并且花了大量时间为 1.6.34 设置环境.

I have a Java web app (WAR) that requires an older (1.5.11) version of the JRE, but am on Linux and spent a good deal of time setting up my environment for 1.6.34.

Web 应用程序需要在 JBoss (4.0.4 GA) 上本地托管,我对此没有经验.我想知道是否可以下载 JDK 的 1.5.11 版本并进行配置,以便我的 JBoss 实例是我系统上唯一使用它的东西.这样我就不用担心会搞砸 1.6.34 的任何其他配置.

The web app needs to be hosted locally on JBoss (4.0.4 GA), which I have no experience with. I'm wondering if it is possible to download the 1.5.11 version of the JDK and configure things so that my JBoss instance is the only thing on my system that is using it. This way I don't need to worry about blowing out any of my other configs for 1.6.34.

如果可能,一般步骤是什么,我需要做哪些 JBoss 配置?提前致谢.

If it is possible, what are the general steps and what are the JBoss configs I need to make? Thanks in advance.

推荐答案

当然这是可能的.您可以根据需要安装任意数量的 Java 版本,并确保为要启动的每个进程正确设置路径/JAVA_HOME.在 JBOSS_HOME/bin/run.conf 你可以指定你的 1.5 JAVA_HOME.

Of course this is possible. You can install as many java versions as you like and make sure path/JAVA_HOME is set up correctly for each process you want to launch. in JBOSS_HOME/bin/run.conf you can specify your 1.5 JAVA_HOME.

但如果您谈论的是严肃的业务,您应该找人(例如您的软件供应商)进行升级.1.5.11 超旧且不受支持.而 JBoss 4.0.4 也同样陈旧,支持更少.

But if you are talking about serious business, you should get somebody (like your software supplier) to upgrade. 1.5.11 is superold and unsupported. and JBoss 4.0.4 is equally old and even less supported.

这篇关于如何使用自己的 JDK 版本配置 JBoss?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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