diff options
author | md_5 <git@md-5.net> | 2018-11-08 20:58:16 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-11-08 20:58:16 +1100 |
commit | 228fddc1b71cbdc0b53546b5b7145bcc51a37ead (patch) | |
tree | a659a95a79ebd91acaed8cbdbf821dee20a86e27 /src/main/java/org/spigotmc | |
parent | e750b8a389135105b5bf5923a3153aee51986da9 (diff) | |
download | buildtools-228fddc1b71cbdc0b53546b5b7145bcc51a37ead.tar buildtools-228fddc1b71cbdc0b53546b5b7145bcc51a37ead.tar.gz buildtools-228fddc1b71cbdc0b53546b5b7145bcc51a37ead.tar.lz buildtools-228fddc1b71cbdc0b53546b5b7145bcc51a37ead.tar.xz buildtools-228fddc1b71cbdc0b53546b5b7145bcc51a37ead.zip |
Apply workaround for linux distro bugs
https://www.spigotmc.org/threads/345557/
Diffstat (limited to 'src/main/java/org/spigotmc')
-rw-r--r-- | src/main/java/org/spigotmc/builder/Builder.java | 4 |
1 files changed, 4 insertions, 0 deletions
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; |