Skip to content

Commit

Permalink
support jdk8-17, by java -jar xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
fjh658 committed Nov 10, 2021
1 parent ba5fc0a commit a783ade
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/osx/resources/universalJavaApplicationStub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,12 @@ elif [ -f "$JAVACMD" ] && [ -x "$JAVACMD" ] ; then
# - main class
# - JVM arguments
exec "$JAVACMD" \
-cp "${JVMClassPath}" \
-Xdock:icon="${ResourcesFolder}/${CFBundleIconFile}" \
-Xdock:name="${CFBundleName}" \
${JVMOptions:+$JVMOptions }\
${JVMDefaultOptions:+$JVMDefaultOptions }\
${JVMMainClass}\
${JVMArguments:+ $JVMArguments}
${JVMArguments:+ $JVMArguments}\
-jar "${JVMClassPath}" \


else
Expand Down

0 comments on commit a783ade

Please sign in to comment.