mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Update launch script to specify -jar as last option
The recommended usage for the java executable is: java [-options] -jar jarfile [args...] This commit updates the default launch script to match this recommended usage by moving -jar to be the last option, after both the disableJarChecking system property and any JAVA_OPTS. Closes gh-3930
This commit is contained in:
parent
1ce0ba6171
commit
94a737638e
@ -109,7 +109,7 @@ else
|
||||
fi
|
||||
|
||||
# Build actual command to execute
|
||||
command="$javaexe -jar -Dsun.misc.URLClassPath.disableJarChecking=true $JAVA_OPTS $jarfile $RUN_ARGS $@"
|
||||
command="$javaexe -Dsun.misc.URLClassPath.disableJarChecking=true $JAVA_OPTS -jar $jarfile $RUN_ARGS $@"
|
||||
|
||||
# Action functions
|
||||
start() {
|
||||
|
Loading…
Reference in New Issue
Block a user