이 콘텐츠는 선택한 언어로 제공되지 않습니다.

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.
TIP
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

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat