diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java b/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java index 01ec0caec..7281d6b2c 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java @@ -20,6 +20,11 @@ public class BungeeCordLauncher { Security.setProperty( "networkaddress.cache.ttl", "30" ); Security.setProperty( "networkaddress.cache.negative.ttl", "10" ); + // For JDK9+ we force-enable multi-release jar file support #3087 + if ( System.getProperty( "jdk.util.jar.enableMultiRelease" ) == null ) + { + System.setProperty( "jdk.util.jar.enableMultiRelease", "force" ); + } OptionParser parser = new OptionParser(); parser.allowsUnrecognizedOptions();