How to check JAVA_OPTS value in command line?

Our application deploys the JBoss server and then throws a PermGen space error. Then java_OPTS sets the permgen variable to the jboss bat variable and the configuration file. JAVA_OPTs in the price or not, how to check it? How to check JAVA_OPTS value in command line?

+4
source share
1 answer

if your JAVA_OPTS is installed on Windows then simply:

echo %JAVA_OPTS%

in linux

echo "$JAVA_OPTS"

but it is possible that it is installed first in your standalone.bat file. Then it is valid only for the standalone.bat (.sh) file runtime, and you can find its value in this file.

hope i can help

+10
source

Source: https://habr.com/ru/post/1502790/


All Articles