Jump to content

Help while running in IDEA


Soarxyn

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.