Why does JBoss EAP run.sh script uses "eval" to launch the java process?

Solution Verified - Updated -

Issue

In the $JBOSS_HOME/bin/run.sh script, an eval is used to launch java

eval "$JAVA" $JAVA_OPTS 

Previously, in the old script,  this was not done

"$JAVA" $JAVA_OPTS 

This change broke our start-up scripts that initialize a bunch of JVM/JBoss parameters and call run.sh.

Any reason why this change was made?

Environment

JBoss Enterprise Application Server (EAP) 5.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content