Customized versionManifest for Minecraft 1.12.2 to resolve problems on macOS.
Caused by: java.lang.ClassNotFoundException: ca.weblite.objc.NSObject
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 19 more
See:
- https://bugs.mojang.com/browse/MC-115725
- https://bugs.mojang.com/browse/MC-118506
- SKCraft/Launcher#205
- MinecraftForge/MinecraftForge#3964
Forge resolves this issues by using the ca.weblite:java-objc-bridge:1.0.0
(univarsal) from maven central instead from
mojang maven. See: MinecraftForge/ForgeGradle#424
The patched versionManifest remove the natives for osx and link the required library to the maven central.
I'm build and distribute my modpack via SKCraft's Laucher. You can put the file manifest.json below on
the same level where your modpack.json is. Then you have to add the parameter --version-file
as launch option to
the ModPack builder. Since I'm building my modpack headless and automated via GitLab CI and Jenkins, I don't have the
idea howto get this on the GUI.
Example:
java -jar launcher-builder.jar --version-file manifest.json
Could u go into more detail please?