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.

OreoNeo

Members
  • Joined

  • Last visited

  1. Hi, i would make an Client with Minecraft and ForgeGradle in Version 1.8, but when i would start it the log say me 2022-04-14 20:59:32,564 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2022-04-14 20:59:32,586 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [20:59:33] [main/INFO] [GradleStart]: Extra: [] Exception in thread "main" java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap') at net.minecraftforge.gradle.GradleForgeHacks.searchCoremods(GradleForgeHacks.java:87) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:86) at GradleStart.main(GradleStart.java:26) When i run it, Eclipse "teleport" me to GradleForgeHacks.class (i cant edit the file) Can someone help me ๐Ÿ˜… ? for (URL url : ((URLClassLoader) GradleStartCommon.class.getClassLoader()).getURLs()) { if (!url.getProtocol().startsWith("file")) // because file urls start with file:// continue; // this isnt a file File coreMod = new File(url.toURI().getPath()); Manifest manifest = null; if (!coreMod.exists()) continue; if (coreMod.isDirectory()) { File manifestMF = new File(coreMod, "META-INF/MANIFEST.MF"); if (manifestMF.exists()) { FileInputStream stream = new FileInputStream(manifestMF); manifest = new Manifest(stream); stream.close(); } } else if (coreMod.getName().endsWith("jar")) // its a jar { JarFile jar = new JarFile(coreMod); manifest = jar.getManifest(); if (atRegistrar != null && manifest != null) atRegistrar.invoke(null, jar); jar.close(); } // we got the manifest? use it. if (manifest != null) { String clazz = manifest.getMainAttributes().getValue(COREMOD_MF); if (!Strings.isNullOrEmpty(clazz)) { GradleStartCommon.LOGGER.info("Found and added coremod: " + clazz); coreMap.put(clazz, coreMod); } } }

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.