Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hi there, I'm trying to run forge 1.7.10 from command line. I've copied all of the required libraries to a single folder, and I'm using the following code to start it:

 

java -Xmx3000m -Djava.library.path=%APPDATA%\.minecraft\versions\1.7.10-Forge10.13.2.1291\1.7.10-Forge10.13.2.1291.jar -cp %APPDATA%\.ssmc\lib\* net.minecraft.launchwrapper.Launch --session (Default) --username testuser --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --version 1.7.10 --assetsDir %APPDATA%\.minecraft\assets\ --gameDir %APPDATA%\.minecraft --accessToken (Default) --assetIndex 1.7.10 --uuid

 

However, it starts to load the tweak class, but I'm getting the following error:

 

[18:17:58] [main/DEBUG] [FML/]: Runtime patching class ahu (input size 0), found 1 patch

[18:17:58] [main/ERROR] [LaunchWrapper/]: Unable to launch

java.lang.RuntimeException: java.lang.NullPointerException

at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:130) ~[forge-1.7.10-10.13.2.1291.jar:?]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

Caused by: java.lang.NullPointerException

at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192) ~[guava-15.0.jar:?]

at com.google.common.hash.AbstractByteHasher.putBytes(AbstractByteHasher.java:69) ~[guava-15.0.jar:?]

at com.google.common.hash.AbstractStreamingHashFunction.hashBytes(AbstractStreamingHashFunction.java:65) ~[guava-15.0.jar:?]

at cpw.mods.fml.common.patcher.ClassPatchManager.applyPatch(ClassPatchManager.java:95) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.patcher.ClassPatchManager.getPatchedResource(ClassPatchManager.java:60) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.getFieldType(FMLDeobfuscatingRemapper.java:193) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.parseField(FMLDeobfuscatingRemapper.java:170) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper.setup(FMLDeobfuscatingRemapper.java:139) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.common.asm.FMLSanityChecker.injectData(FMLSanityChecker.java:182) ~[forge-1.7.10-10.13.2.1291.jar:?]

at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:125) ~[forge-1.7.10-10.13.2.1291.jar:?]

... 2 more

 

 

I've checked it on google, and also in the forum too, and found out that I should delete every mod unrelated to this version, but the problem is that it's a clean install, the mods folder is empty. I've tried it with java8 and java7 too, with legacy java fixer and without it, but I have no idea for now. Anyone can help?

 

 

EDIT: Fixed it. Cause of the problem was I messed up locations of libs and other paths.

The way you are launching the game is atrocious.

Why are you doing it manually like that?

Use the installer and normal launchers. You're missing minecraft itself.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.