Found the following exception error when running the newest forge (37.0.2) with mods in the mods folder:
Exception in thread "main" java.lang.module.ResolutionException: Module optifine contains package net.minecraftforge.eventbus.api, module eventbus exports package net.minecraftforge.eventbus.api to optifine
This causes the game to crash with error code 0. Only happens when mods are in the mods folder, otherwise forge launches correctly. Hope someone can help!