Posted January 7, 201411 yr Good morning, users. I am running Minecraft Forge Gradle 1.7.2 with IntelliJ IDEA IDE and coding in scala. Whenever I run the code I get the same error as this topic : http://www.minecraftforge.net/forum/index.php/topic,15173.0.html I tried the solution creating a new classes path to natives folder in build. But, it still. The error: [08:51:49] [main/ERROR]: Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_40] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_40] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_40] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_40] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_40] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_40] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_40] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_40] at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) [idea_rt.jar:?] Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878) ~[?:1.7.0_40] at java.lang.Runtime.loadLibrary0(Runtime.java:849) ~[?:1.7.0_40] at java.lang.System.loadLibrary(System.java:1087) ~[?:1.7.0_40] at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_40] at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.0.jar:?] at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.0.jar:?] at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.0.jar:?] at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2579) ~[Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:36) ~[Main.class:?] ... 11 more
January 12, 201411 yr In IntelliJ IDEA, the natives are linked via a command line argument specified in your run configurations. The natives can be found in build/natives http://i56.tinypic.com/ruu0ao.png[/img] ^^ url to be changed.
January 13, 201411 yr Whenever I try to run minecraft from eclipse I always get this error:Error: Could not find or load main class net.minecraft.launchwrapper.Launch I have pasted net.minecraft.launchwrapper.Launch in both my project and main class aswell as I have tried it when just in main class or just in project. I cant run client or server, please help.
January 13, 201411 yr Check if your gradle deps has launchwrapper-1.9.jar listed. Read the EAQ before posting! OR ELSE! This isn't building better software, its trying to grab a place in the commit list of a highly visible github project. www.forgeessentials.com Don't PM me, I don't check this account unless I have to.
January 14, 201411 yr I don't use intellij, but look under project/libraries or something. I'm not referring to the gradle-wrapper.jar btw. Read the EAQ before posting! OR ELSE! This isn't building better software, its trying to grab a place in the commit list of a highly visible github project. www.forgeessentials.com Don't PM me, I don't check this account unless I have to.
January 25, 201411 yr Soarxyn, did adding the launch configuration argument (-Djava.library.path) work for you? TearN8, your question is about Eclipse but this thread is about IntelliJ IDEA. You should perhaps ask it in another thread. My mods: [1.7.10] Streams - Real Flowing Rivers! [1.7.10] Repose - Walkable soil slopes. Give your spacebar a break!
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.