Skip to content Nodecraft
Support / Minecraft / FML Security Error

FML Security Error

If you have Forge installed in multiple locations, this can result in an FML security error, similiar to the one printed below. For example, this can occur if you have a forge- jar in your primary directory, and then the same jar at /mods/forge-

[main/ERROR] [LaunchWrapper]: Unable to launch java.lang.RuntimeException: FML was unable to install the security manager. The game will not start at net.minecraftforge.fml.common.launcher.FMLTweaker.<init>( ~[forge-] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_171] at sun.reflect.NativeConstructorAccessorImpl.newInstance( ~[?:1.8.0_171] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( ~[?:1.8.0_171] at java.lang.reflect.Constructor.newInstance( ~[?:1.8.0_171] at java.lang.Class.newInstance( ~[?:1.8.0_171] at net.minecraft.launchwrapper.Launch.launch( [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main( [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171] at sun.reflect.NativeMethodAccessorImpl.invoke( ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:1.8.0_171] at java.lang.reflect.Method.invoke( ~[?:1.8.0_171] at [forge-] at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main( [forge-] Caused by: java.lang.SecurityException: Cannot replace the FML security manager at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission( ~[forge-] at java.lang.System.setSecurityManager0( ~[?:1.8.0_171] at java.lang.System.setSecurityManager( ~[?:1.8.0_171] at net.minecraftforge.fml.common.launcher.FMLTweaker.<init>( ~[forge-] ... 13 more

To resolve this error, remove the duplicate Forge jar, generally found in your /mods directory.

Create a Minecraft Server today!
Start Free Trial

Chat blocked!

Nodecraft is an ad-free website! Disable adblock if you have any questions.