user24453
user24453

Reputation: 83

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?

Upvotes: 5

Views: 42856

Answers (1)

typohon111
typohon111

Reputation: 186

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

Upvotes: 15

Related Questions