简体   繁体   中英

How to check JAVA_OPTS value in command prompt?

Our application is deploy JBoss server then throws error PermGen space Then java_OPTS in set permgen variable in jboss bat and config file. JAVA_OPTs in value assige or not how to check it? How to check JAVA_OPTS value in command prompt?

if your JAVA_OPTS is set in Windows then with simple:

echo %JAVA_OPTS%

in linux

echo "$JAVA_OPTS"

but it is possible that it is set first in your standalone.bat file. Then its valid only for execution time of standalone.bat (.sh) file and you can find its value in this file.

hope i could help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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