Jump to content

Recommended Posts

Posted

I get the following error/crash when I try to activate my modpack via the technic launcher, I even tried it with the new jenkins build to no good effect.

[B#149] javaw.exe -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx8192m -XX:MaxPermSize=256m -Djava.library.path=G:Technic_Launchermodpackskreezcast-extremebinnatives -Dfml.core.libraries.mirror=http://mirror.technicpack.net/Technic/lib/fml/%s -Dminecraft.applet.TargetDirectory=G:Technic_Launchermodpackskreezcast-extreme -cp G:Technic_Launchercachenetminecraftlaunchwrapper1.11launchwrapper-1.11.jar;G:Technic_Launchercacheorgow2asmasm-all5.0.3asm-all-5.0.3.jar;G:Technic_Launchercachecomtypesafeakkaakka-actor_2.112.3.3akka-actor_2.11-2.3.3.jar;G:Technic_Launchercachecomtypesafeconfig1.2.1config-1.2.1.jar;G:Technic_Launchercacheorgscala-langscala-actors-migration_2.111.1.0scala-actors-migration_2.11-1.1.0.jar;G:Technic_Launchercacheorgscala-langscala-compiler2.11.1scala-compiler-2.11.1.jar;G:Technic_Launchercacheorgscala-langpluginsscala-continuations-library_2.111.0.2scala-continuations-library_2.11-1.0.2.jar;G:Technic_Launchercacheorgscala-langpluginsscala-continuations-plugin_2.11.11.0.2scala-continuations-plugin_2.11.1-1.0.2.jar;G:Technic_Launchercacheorgscala-langscala-library2.11.1scala-library-2.11.1.jar;G:Technic_Launchercacheorgscala-langscala-parser-combinators_2.111.0.1scala-parser-combinators_2.11-1.0.1.jar;G:Technic_Launchercacheorgscala-langscala-reflect2.11.1scala-reflect-2.11.1.jar;G:Technic_Launchercacheorgscala-langscala-swing_2.111.0.1scala-swing_2.11-1.0.1.jar;G:Technic_Launchercacheorgscala-langscala-xml_2.111.0.2scala-xml_2.11-1.0.2.jar;G:Technic_Launchercachelzmalzma0.0.1lzma-0.0.1.jar;G:Technic_Launchercachenetsfjopt-simplejopt-simple4.5jopt-simple-4.5.jar;G:Technic_Launchermodpackskreezcast-extremebinmodpack.jar;G:Technic_Launchermodpackskreezcast-extremebinminecraft.jar net.minecraft.launchwrapper.Launch --username Kreezxil --version 1.8-Forge11.14.0.1245-1.8 --gameDir G:Technic_Launchermodpackskreezcast-extreme --assetsDir G:Technic_Launcherassets --assetIndex 1.8 --uuid 8a1968e652164a8ca37c4582db6dcd64 --accessToken dcff7daa67d6442fbcd76277a8cb1f7b --userProperties {} --userType mojang --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --title KreezCast Extreme --icon G:Technic_Launcherassetspackskreezcast-extremeicon.png 
[B#149]  Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
[B#149]  	at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
[B#149]  	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[B#149]  Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
[B#149]  	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
[B#149]  	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
[B#149]  	at java.security.AccessController.doPrivileged(Native Method)
[B#149]  	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
[B#149]  	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[B#149]  	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[B#149]  	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[B#149]  	... 2 more
[B#149]  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

Any help with this will be greatly appreciated!

 

:tipshat:

  • 3 weeks later...
  • Discord Moderator
Posted (edited)

Yes, there are libraries missing, or not included in the class path. No, just downloading the libraries does not fix the problem. After a bit of messing around it looks like the list of libraries in the version.json file included with the universal Forge builds for 1.8 does not include:

  • log4j-api 2.0-beta9
  • log4j-core 2.0-beta9
  • guava 17
  • authlib 1.5.17
  • gson 2.2.4
  • lwjgl, lwjgl_util, lwjgl-platform 2.9.1
  • commons-lang3 3.3.2
  • commons-compress 1.8.1
  • commons-io 2.4
  • netty-all 4.0.15.Final
  • trove4j 3.0.3
  • paulscode
  • icu4j-core-mojang 51.2
  • vecmath 1.5.2

Simply downloading these libraries into Technic's cache folder does not help. They need to be included in the class path. Adding the following to the version.json file in the modpack.jar (Forge universal JAR) adds them to the class path and downloads them if they aren't there:

    {
      "name": "org.apache.logging.log4j:log4j-api:2.0-beta9"
    },
    {
      "name": "org.apache.logging.log4j:log4j-core:2.0-beta9"
    },
    {
      "name": "com.google.guava:guava:17.0"
    },
    {
      "name": "com.mojang:authlib:1.5.17"
    },
    {
      "name": "com.google.code.gson:gson:2.2.4"
    },
    {
      "name": "org.lwjgl.lwjgl:lwjgl:2.9.1"
    },
    {
      "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1"
    },
    {
      "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1",
      "natives": {
        "linux": "natives-linux",
        "windows": "natives-windows",
        "osx": "natives-osx"
      },
      "extract": {
        "exclude": [
          "META-INF/"
        ]
      }
    },
    {
      "name": "org.apache.commons:commons-lang3:3.3.2"
    },
    {
      "name": "org.apache.commons:commons-compress:1.8.1"
    },
    {
      "name": "commons-io:commons-io:2.4"
    },
    {
      "name": "io.netty:netty-all:4.0.15.Final"
    },
    {
      "name": "net.sf.trove4j:trove4j:3.0.3"
    },
    {
      "name": "com.paulscode:codecjorbis:20101023"
    },
    {
      "name": "com.paulscode:codecwav:20101023"
    },
    {
      "name": "com.paulscode:libraryjavasound:20101123"
    },
    {
      "name": "com.paulscode:librarylwjglopenal:20100824"
    },
    {
      "name": "com.paulscode:soundsystem:20120107"
    },
    {
      "name": "com.ibm.icu:icu4j-core-mojang:51.2"
    },
    {
      "name": "java3d:vecmath:1.5.2"
    }

After making this change (now included in the BareBonesPack) the launcher starts up Forge 1.8 successfully.

 

Edit: I must have gotten some wires crossed when I built this the first time. I obviously missed most of the libraries. Should be fixed now.

Edited by plowmanplow
  • Discord Moderator
Posted

where in the file do you put this i have tryed and nothing 

 

also the barebones pack with 1.8 selected only gives me vanilla no forge 

 

How about that. You are correct. Looking into it now.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...