Java version problems

AppClassLoader cannot be cast to URLClassLoader

What the log looks like

classloaders\$appclassloader cannot be cast to[^\n]{0,40}urlclassloader
appclassloader cannot be cast to[^\n]{0,30}java\.net\.url

How to fix it

  1. Old Forge (1.12.2 and earlier) only runs on Java 8
  2. Java 9 changed the class loader, which is exactly what this message reports
  3. Install Java 8 and point the instance at it
LoadersForge
SeverityStops the game
CategoryJava version problems

Check your own log

Related errors