From 228fddc1b71cbdc0b53546b5b7145bcc51a37ead Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 8 Nov 2018 20:58:16 +1100 Subject: Apply workaround for linux distro bugs https://www.spigotmc.org/threads/345557/ --- src/main/java/org/spigotmc/builder/Builder.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java index 7e3883d..cfd0255 100644 --- a/src/main/java/org/spigotmc/builder/Builder.java +++ b/src/main/java/org/spigotmc/builder/Builder.java @@ -640,6 +640,10 @@ public class Builder { pb.environment().put( "MAVEN_OPTS", "-Xmx1024M" ); } + if ( !pb.environment().containsKey( "_JAVA_OPTIONS" ) ) + { + pb.environment().put( "_JAVA_OPTIONS", "-Djdk.net.URLClassPath.disableClassPathURLCheck=true" ); + } if ( msysDir != null ) { String pathEnv = null; -- cgit v1.2.3