This repository was archived by the owner on Feb 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -218,17 +218,18 @@ else
218218 JVMClassPath_RAW=` /usr/libexec/PlistBuddy -c " print JVMClassPath" " ${InfoPlistFile} " 2> /dev/null`
219219 if [[ $JVMClassPath_RAW == * Array* ]] ; then
220220 JVMClassPath=.` /usr/libexec/PlistBuddy -c " print JVMClassPath" " ${InfoPlistFile} " 2> /dev/null | grep " " | sed ' s/^ */:/g' | tr -d ' \n' | xargs`
221+ # expand variables $APP_PACKAGE, $JAVAROOT, $USER_HOME
222+ JVMClassPath=` eval " echo ${JVMClassPath} " `
221223
222- # expand variables $APP_PACKAGE, $JAVAROOT, $USER_HOME
223- JVMClassPath=` eval " echo ${JVMClassPath} " `
224224 elif [[ ! -z ${JVMClassPath_RAW} ]] ; then
225225 JVMClassPath=${JVMClassPath_RAW}
226+ # expand variables $APP_PACKAGE, $JAVAROOT, $USER_HOME
227+ JVMClassPath=` eval " echo ${JVMClassPath} " `
226228
227- # expand variables $APP_PACKAGE, $JAVAROOT, $USER_HOME
228- JVMClassPath=` eval " echo ${JVMClassPath} " `
229229 else
230230 # default: fallback to OracleJavaFolder
231231 JVMClassPath=" ${JavaFolder} /*"
232+ # Do NOT expand the default App.app/Contents/Java/* classpath (#42)
232233 fi
233234
234235 # read the JVM Default Options
You can’t perform that action at this time.
0 commit comments