此内容没有您所选择的语言版本。

2.2. Setting CLI Environment Variables


The JBoss ON CLI utility is a Java application, so it supports a large variety of environment variables, JVM settings, and other Java options.
The Java settings and environment variables are defined in the rhq-cli-env.sh|bat file.

Note

The rhq-cli-env.sh|bat file is fully annotated, so all available parameters are listed with full descriptions. If you want to change some of the JVM settings or parameters, read through the rhq-cli-env.sh|bat file to get an idea of what parameters are available.
Default values are supplied for most of these arguments, and those defaults are sufficient for most operating environments.
There is one environment variable which must be set for every installation: the Java home directory. This can be set by editing either the RHQ_CLI_JAVA_HOME or the RHQ_CLI_JAVA_EXE_FILE_PATH variable in the rhq-cli-env.sh|bat file. For example:
RHQ_CLI_JAVA_HOME="/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jdk"
Copy to Clipboard Toggle word wrap

Important

Do not edit the rhq-cli.sh|bat file or attempt to set environment variables in that file. Environment variables and Java options should only be set in the rhq-cli-env.sh|bat file.
Editing the rhq-cli.sh|bat file may cause unexpected behavior or prevent the utility from running.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat