Alright fellow modders, I recently finished a modding course and am eager to continue working on my creations. My problem is, I took the course out of town and on a Windows computer. I run on Mac and have set up the proper file path and all, but I keep getting an error that I have been trying to fix for a while. This is my error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.(Sys.java:98)
at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2600)
at net.minecraft.client.Minecraft.main(Minecraft.java:2188)
at Start.main(Start.java:22)
Any help is appreciated. I would like to get back to modding ASAP.
-Stone
Either you don't have the lwjgl jar at all, or your Eclipse set up did not set up the natives for it. Are you using the default Forge set-up, or rolling your own a la Pahimar? The default Forge set-up should have everything configured properly. If you are configuring your own Eclipse, go into 'Configure Build Path', "Libraries" tab (I think), and open up the entry for lwjgl. If the 'natives' line is empty, point it at the directory where the natives (library binaries--DLL in Windows, .SO in linux, I don't know in MacOS) are.
Either you don't have the lwjgl jar at all, or your Eclipse set up did not set up the natives for it. Are you using the default Forge set-up, or rolling your own a la Pahimar? The default Forge set-up should have everything configured properly. If you are configuring your own Eclipse, go into 'Configure Build Path', "Libraries" tab (I think), and open up the entry for lwjgl. If the 'natives' line is empty, point it at the directory where the natives (library binaries--DLL in Windows, .SO in linux, I don't know in MacOS) are.
//i.imgur.com/ENBQlP5.png" width="" height="" alt="" />" align="This is my file path" class="cs_aimg_This is my file path">
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1758)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.(Sys.java:98)
at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2600)
at net.minecraft.client.Minecraft.main(Minecraft.java:2188)
at Start.main(Start.java:22)
Any help is appreciated. I would like to get back to modding ASAP.
-Stone
--<@ My collection of Actually Somewhat Useful Minecraft Modding Links @>--
My Mods: Sinhika's Bark
Ported Mods: akkamaddi's Additions, akkamaddi's Ashenwheat, AleXndrTheGr8st's SimpleCore/SimpleOres/etc
Other Stuff: old/obsolete Ruins templates, updated to Ruins 1.7.10
You mean my basemod class or what?
//i.imgur.com/ENBQlP5.png" width="" height="" alt="" />" align="This is my file path" class="cs_aimg_This is my file path">
Yeah, the class where all your methods are like where the items are registered and stuff
okay, so how do I change that? just replace with the native from my vanilla minecraft folder?
OH MY CRAP! thank you so much! I can't believe it was that simple. it runs beautifully, thank you all so much for your help!