Updated java8 warning message for ClassCastException

#775
This commit is contained in:
Geoff Bourne 2021-03-12 17:22:54 -06:00
parent 46bfbaada1
commit 2bdaa4dc4e

View File

@ -108,6 +108,8 @@ case "${TYPE^^}" in
log "**********************************************************************" log "**********************************************************************"
log "WARNING: The image tag itzg/minecraft-server:java8 is recommended" log "WARNING: The image tag itzg/minecraft-server:java8 is recommended"
log " since some mods require Java 8" log " since some mods require Java 8"
log " Exception traces reporting ClassCastException: class jdk.internal.loader.ClassLoaders\$AppClassLoader"
log " can be fixed with java8"
log "**********************************************************************" log "**********************************************************************"
exec ${SCRIPTS:-/}start-deployForge "$@" exec ${SCRIPTS:-/}start-deployForge "$@"
;; ;;
@ -120,6 +122,8 @@ case "${TYPE^^}" in
log "**********************************************************************" log "**********************************************************************"
log "WARNING: The image tag itzg/minecraft-server:java8 is recommended" log "WARNING: The image tag itzg/minecraft-server:java8 is recommended"
log " since some mods require Java 8" log " since some mods require Java 8"
log " Exception traces reporting ClassCastException: class jdk.internal.loader.ClassLoaders\$AppClassLoader"
log " can be fixed with java8"
log "**********************************************************************" log "**********************************************************************"
exec ${SCRIPTS:-/}start-deployCF "$@" exec ${SCRIPTS:-/}start-deployCF "$@"
;; ;;