Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 0c042be

Browse files
committed
expand variables like $APP_PACKAGE in Oracle JVMClassPath
1 parent a2972b9 commit 0c042be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/universalJavaApplicationStub

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ else
216216
#default: fallback to OracleJavaFolder
217217
JVMClassPath="${JavaFolder}/*"
218218
fi
219+
# expand variables $APP_PACKAGE, $JAVAROOT, $USER_HOME
220+
JVMClassPath=`eval "echo ${JVMClassPath}"`
219221

220222
# read the JVM Default Options
221223
JVMDefaultOptions=`/usr/libexec/PlistBuddy -c "print :JVMDefaultOptions" "${InfoPlistFile}" 2> /dev/null | grep -o "\-.*" | tr -d '\n' | xargs`

0 commit comments

Comments
 (0)