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

I've only just installed Forge.  Vanilla 1.13 works fine, but Forge 1.12.2 and 1.12.1 (figured I'd check) both crash with the same errors.

There's no crash report saved when this happens but here's a bit of the terminal output:

[1105/110749:WARNING:x11_util.cc(1404)] X error received: serial 1569, error_code 170 (GLXBadWindow), request_code 151, minor_code 26 (X_GLXMakeContextCurrent)
[1105/110749:INFO:ClientHandler.cpp(155)] Hiding launcher!


[1105/110749:WARNING:x11_util.cc(1404)] X error received: serial 203, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
[1105/110749:INFO:GameCallbacks.cpp(199)] game/game () info Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader

 

Is this an issue with Java?  Does Forge not support the runtime that's installed along with the launcher?  If so, does it also not support openjdk?  I tried pointing the launcher to that and it doesn't recognize it, just tells me Java wasn't found.

 

 

EDIT FOR ANYONE LOOKING TO FIX THIS:

It was indeed an issue with which Java version I was using.  You need Oracle's JRE specifically.  On Archlinux-based distros like mine you can get it from the AUR with the package "jre8".  By default, the filepath for the executable you need to point the launcher to (again, if using this package) should be

/usr/lib/jvm/java-8-jre/jre/bin/java

 

Edited by Mummelpuffin

  • Author
8 minutes ago, diesieben07 said:

As far as I know the launcher comes with Java 8. If that has changed, you need to point it at a Java 8 installation, your error indicates that you are trying to launch with Java 9 or newer.

Forge does not yet support Java 9 and above (it will be supported in 1.13.x).

Where does the launcher actually store it's version of Java 8?  I want to point the launcher right to it in case it isn't using it for whatever reason.

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.