Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check JAVA_OPTS value in command prompt?

Tags:

java

jboss

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?

like image 453
user24453 Avatar asked Sep 18 '13 11:09

user24453


People also ask

What is Java_opts environment variable?

JAVA_OPTS is an environment variable that you can set to pass custom settings to the Java Virtual Machine (JVM) that runs Liquibase.


1 Answers

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

like image 147
typohon111 Avatar answered Sep 27 '22 19:09

typohon111