summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/spigotmc/builder/Builder.java4
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;