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.

Forge installer won't open. Tried several versions of java and opening via powershell, get this error log.

Featured Replies

Posted

Hey all,

On a fresh install of windows and wanted to play some modded. Did the usual install of java but noticed that the forge installer for 1.12 wouldnt open. I also tried the .exe installer but that also was no help. I did some troubleshooting and tried installing a few versions of java i.e. the latest from oracle, an older version of java 16 and a couple of versions of OpenJDK. I came across a solution detailing how to use powershell to manually open the installer. However doing this results in this error message:

Exception in thread "main" java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at net.minecraftforge.installer.Java6Gate.main(Java6Gate.java:48)
Caused by: java.lang.ExceptionInInitializerError
        at net.minecraftforge.installer.ClientInstall.getSponsorMessage(ClientInstall.java:401)
        at net.minecraftforge.installer.InstallerAction.getSponsorMessage(InstallerAction.java:60)
        at net.minecraftforge.installer.InstallerPanel.updateFilePath(InstallerPanel.java:334)
        at net.minecraftforge.installer.InstallerPanel.<init>(InstallerPanel.java:315)
        at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:167)
        at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:54)
        ... 5 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at net.minecraftforge.installer.MirrorData.buildMirrorList(MirrorData.java:84)
        at net.minecraftforge.installer.MirrorData.<init>(MirrorData.java:63)
        at net.minecraftforge.installer.MirrorData.<clinit>(MirrorData.java:17)
        ... 11 more

 

If anyone could provide some clues as to what this means i would gladly appreciate it. Cheers!

1.12 is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.

  • Guest locked this topic
Guest
This topic is now closed to further replies.

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.