Gradle: Could not create SecurityManager

I am currently trying to get some tests run in gradle for a shared build server. I get the following error:

Error occurred during initialization of VM

java.lang.InternalError: Could not create SecurityManager:

at sun.misc.Launcher.(

at sun.misc.Launcher.(

at java.lang.ClassLoader.initSystemClassLoader(

at java.lang.ClassLoader.getSystemClassLoader(

The JVM commandline arguments from running with --debug are:








I've tried running with different versions of gradle on local and on server to compare:

2.14.1 on local vs 2.14.1 on server

4.10.1 on local vs 4.5.x on server

On local, it will always pass all tests regardless of gradle version.

On server, it will always fail when it...

Read More »

By: StackOverFlow - Thursday, 8 November

Related Posts