Ocean Block server doesn't start

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Cherished Zero

New Member
Nov 3, 2021
2
0
2
2021-11-03 12:51:13,148 main WARN Advanced terminal features are not available in this environment
[12:51:13] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.8, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui]
[12:51:13] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16.0.2 by Microsoft
Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x67e2d983) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x67e2d983
at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:41)
at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)
at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:41)
at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)
at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)
at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)
at cpw.mods.modlauncher.Launcher.<init>(Launcher.java:55)
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
Press any key to continue . . .


I have java 8, I double checked it after checking these forums, but I don't quite understand what's stopping it.
 

gdharron

New Member
Jul 29, 2019
24
4
2
26
BC, Canada
www.gd-ss.ca
You have java 16 also installed and the server is trying to use that. If you don't ay Mc 1.17 get rid of java 16. Or if you want to keep it you need to point the server to the java 8 install to run it.
 

gdharron

New Member
Jul 29, 2019
24
4
2
26
BC, Canada
www.gd-ss.ca
I'm not 100% sure, best bet is checking the official FTB discord server its in the support channel somewhere I've seen it! Again if you don't need Java 16 just get rid of it and make life easier :)
 

Cixxar

Member
Jul 29, 2019
4
0
10
For anyone here looking for the solution and getting here from Google but not finding it.

SOLUTION:
Make the Start.bat fil use the version 8 JAVA by giving it the FULL PATH to the java.exe
Lets say you have installed the 64Bit java 8 - then the path it C:\Program Files\Java\jre1.8.0_301\bin

in the start.bat file it will say
java.exe -javaagent:log4jfix/Log4jPatcher-1.0.0.jar -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx6144M -Xms4096M -jar forge-1.16.5-36.2.20.jar nogui

So add the full path and remember to put " " around it.
"C:\Program Files\Java\jre1.8.0_301\bin\java.exe" -javaagent:log4jfix/Log4jPatcher-1.0.0.jar -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx6144M -Xms4096M -jar forge-1.16.5-36.2.20.jar nogui

there you go!
fixed