JBOSSUSER
JBOSSUSER

Reputation: 35

Is it okay to assign java parameters to JAVA_OPTS without space in between?

Is it okay to assign java parameters to JAVA_OPTS without space in between ?

JAVA_OPTS="$JAVA_OPTS -Xloggc:/opt/tmp/gc.log-XX:+PrintGCDetails-XX:+PrintGCDateStamps-XX:+PrintHeapAtGC-XX:+PrintGCApplicationStoppedTime"

Upvotes: 1

Views: 129

Answers (1)

Abhijeet
Abhijeet

Reputation: 4309

Space must be present in between JAVA_OPTS else you would get Error: A fatal exception has occurred. The program will exit. error while starting the server with standalone.sh/domain.sh file.

Upvotes: 1

Related Questions