Error cannot access jarfile forge.jar

Hello everyone~ I’ve been trying to make a modded server with a few plugins and i found this turtorial

I followed the first few steps but when it came time to try and run the server for the first time i got an erro message saying it couldn’t access the jar file. I’ve looking in the comment section and tried every suggestion that was posted for this problem most of them saying to rename the “forge.jar” to “forgeno.jar” or variations of it and none of it has worked. I’m not sure where i went wrong or maybe the tutorial simply doesn’t work anymore because it’s from so long ago. If anyone can help I’d apreciate it and sorry for all the trouble

Can you please post screenshots, console output, and logs (if they exist)?

-edit- versions would also be nice to know too

1 Like

My sponge version is
spongeforge-1.12.2-2705-7.1.0-BETA-3206
My forge version is
forge-1.12.2-14.23.4.2705-universal
6a42d4e8c48bbcd603802d6f342875c4

this is a screenshot of the folder in general that it’s all in. The tutorial told me to rename the forge to “forge.jar” by the way.
9d53d1e4e1389531fb3e3d674059f1b0

and as for the logs there are only two but i’m not completely sure if they will help but i’ll post them here anyway in case they do. Also as a preface I have already agreed to the eula

debuglog

[22:01:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:01:38] [main/DEBUG] [FML]: Injecting tracing printstreams for STDOUT/STDERR.
[22:01:38] [main/INFO] [FML]: Forge Mod Loader version 14.23.4.2705 for Minecraft 1.12.2 loading
[22:01:38] [main/INFO] [FML]: Java is Java HotSpot™ Client VM, version 1.8.0_161, running on Windows 10:x86:10.0, installed at C:\Program Files (x86)\Java\jre1.8.0_161
[22:01:38] [main/DEBUG] [FML]: Java classpath at launch is:
[22:01:38] [main/DEBUG] [FML]: C:\Users\Angelina\Desktop\CraftTravelserver\forge-1.12.2-14.23.4.2705-universal.jar
[22:01:38] [main/DEBUG] [FML]: Java library path at launch is:
[22:01:38] [main/DEBUG] [FML]: C:\Program Files (x86)\Java\jre1.8.0_161\bin
[22:01:38] [main/DEBUG] [FML]: C:\WINDOWS\Sun\Java\bin
[22:01:38] [main/DEBUG] [FML]: C:\WINDOWS\system32
[22:01:38] [main/DEBUG] [FML]: C:\WINDOWS
[22:01:38] [main/DEBUG] [FML]: C:\Program Files\Dell\DW WLAN Card
[22:01:38] [main/DEBUG] [FML]:
[22:01:38] [main/DEBUG] [FML]: C:\ProgramData\Oracle\Java\javapath
[22:01:38] [main/DEBUG] [FML]: c:\Program Files (x86)\Intel\iCLS Client
[22:01:38] [main/DEBUG] [FML]: c:\Program Files\Intel\iCLS Client
[22:01:38] [main/DEBUG] [FML]: C:\WINDOWS\system32
[22:01:38] [main/DEBUG] [FML]: C:\WINDOWS
[22:01:38] [main/DEBUG] [FML]: C:\WINDOWS\System32\Wbem
[22:01:38] [main/DEBUG] [FML]: C:\WINDOWS\System32\WindowsPowerShell\v1.0
[22:01:38] [main/DEBUG] [FML]: c:\Program Files\WIDCOMM\Bluetooth Software
[22:01:38] [main/DEBUG] [FML]: c:\Program Files\WIDCOMM\Bluetooth Software\syswow64
[22:01:38] [main/DEBUG] [FML]: C:\Program Files (x86)\Skype\Phone
[22:01:38] [main/DEBUG] [FML]: C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL
[22:01:38] [main/DEBUG] [FML]: C:\Program Files\Intel\Intel® Management Engine Components\DAL
[22:01:38] [main/DEBUG] [FML]: C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT
[22:01:38] [main/DEBUG] [FML]: C:\Program Files\Intel\Intel® Management Engine Components\IPT
[22:01:38] [main/DEBUG] [FML]: C:\WINDOWS\System32\OpenSSH
[22:01:38] [main/DEBUG] [FML]: C:\Users\Angelina\AppData\Local\Microsoft\WindowsApps
[22:01:38] [main/DEBUG] [FML]:
[22:01:38] [main/DEBUG] [FML]: .
[22:01:38] [main/DEBUG] [FML]: Determined Minecraft Libraries Root: C:\Users\Angelina\Desktop\CraftTravelserver\libraries
[22:01:38] [main/DEBUG] [FML]: Enabling runtime deobfuscation
[22:01:38] [main/DEBUG] [FML]: Instantiating coremod class FMLCorePlugin
[22:01:38] [main/DEBUG] [FML]: Found signing certificates for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin)
[22:01:38] [main/DEBUG] [FML]: Found certificate e3c3d50c7c986df74c645c0ac54639741c90a557
[22:01:38] [main/DEBUG] [FML]: Added access transformer class net.minecraftforge.fml.common.asm.transformers.AccessTransformer to enqueued access transformers
[22:01:38] [main/DEBUG] [FML]: Enqueued coremod FMLCorePlugin
[22:01:38] [main/DEBUG] [FML]: Instantiating coremod class FMLForgePlugin
[22:01:38] [main/DEBUG] [FML]: Found signing certificates for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin)
[22:01:38] [main/DEBUG] [FML]: Found certificate e3c3d50c7c986df74c645c0ac54639741c90a557
[22:01:38] [main/DEBUG] [FML]: Enqueued coremod FMLForgePlugin
[22:01:38] [main/DEBUG] [FML]: All fundamental core mods are successfully located
[22:01:38] [main/DEBUG] [FML]: Discovering coremods
[22:01:38] [main/INFO] [FML]: Searching C:\Users\Angelina\Desktop\CraftTravelserver.\mods for mods
[22:01:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:01:38] [main/DEBUG] [FML]: Injecting coremod FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin} class transformers
[22:01:38] [main/TRACE] [FML]: Registering transformer net.minecraftforge.fml.common.asm.transformers.BlamingTransformer
[22:01:38] [main/TRACE] [FML]: Registering transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer
[22:01:38] [main/TRACE] [FML]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriptionTransformer
[22:01:39] [main/TRACE] [FML]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriberTransformer
[22:01:39] [main/TRACE] [FML]: Registering transformer net.minecraftforge.fml.common.asm.transformers.SoundEngineFixTransformer
[22:01:39] [main/DEBUG] [FML]: Injection complete
[22:01:39] [main/DEBUG] [FML]: Running coremod plugin for FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin}
[22:01:39] [main/DEBUG] [FML]: Running coremod plugin FMLCorePlugin
[22:01:40] [main/DEBUG] [FML]: Read 1094 binary patches
[22:01:40] [main/DEBUG] [FML]: Loading deobfuscation resource /deobfuscation_data-1.12.2.lzma with 36083 records

latestlog

[22:01:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[22:01:38] [main/INFO] [FML]: Forge Mod Loader version 14.23.4.2705 for Minecraft 1.12.2 loading
[22:01:38] [main/INFO] [FML]: Java is Java HotSpot™ Client VM, version 1.8.0_161, running on Windows 10:x86:10.0, installed at C:\Program Files (x86)\Java\jre1.8.0_161
[22:01:38] [main/INFO] [FML]: Searching C:\Users\Angelina\Desktop\CraftTravelserver.\mods for mods
[22:01:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:01:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:01:41] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[22:01:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:01:41] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:01:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:01:42] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:01:42] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[22:01:42] [main/WARN] [net.minecraft.server.ServerEula]: Failed to load eula.txt
[22:01:42] [main/INFO] [net.minecraft.server.MinecraftServer]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.

what command is running from the start.bat?

1 Like

This is what the tutorial advised to use so i just copy and pasted it from the discription of the video

@echo off
java -Xmx1024M -jar forge.jar -o true
PAUSE

1 Like

I have agreed to the eula multiple times, I even went back and unagreed saved and reagreed again and it server still won’t load. I’ve tried remaking the server multiple times and each time I make sure to agree to the eula but it doesn’t help, that’s one of the many reasons as to why i’m lost on what to do.

oh.

In file explorer, click View > Options > Change folder and search options > View, and then uncheck Hide extensions for known file types. Then click OK and you will see the problem with your forge jarfile.

1 Like

Pff… I’m a little embarrassed I didn’t catch that Pie…
@Sweetsnow_neko you renamed your jar file to forge.jar.jar on accident.

In the folder itself it says that I named it forge.jar so if I follow the steps pie gave me and rename it from there will that fix the problem ?

Yes it should work then.

1 Like

Thank you guys soooooo much, the server is finally loading. :grinning:

I’m having a similar issue, except my forge.jar is actually what it is, but I still cannot access it whenever I run it as administrator.

Your 3 years late to this topic. I would have created your own topic giving detail into your exact situation.

But anyway, to understand your situation.

Os? (Macos, windows or linux)
Java version?
Forge version?