Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [SOLVED] java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
freshhh

[SOLVED] java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path

By freshhh, January 3, 2014 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

freshhh    5

freshhh

freshhh    5

  • Stone Miner
  • freshhh
  • Members
  • 5
  • 60 posts
Posted January 3, 2014

Hi, trying to run Minecraft on Eclipse. I use Windows 7 and Forge 10.12.0.982.

When I try to run it, I get this error :

 

[02:52:12] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[02:52:12] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[02:52:12] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[02:52:12] [main/INFO]: Forge Mod Loader version 7.2.30.982 for Minecraft 1.7.2 loading
[02:52:12] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_17, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
[02:52:13] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[02:52:13] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[02:52:13] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[02:52:13] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[02:52:13] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[02:52:13] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[02:52:13] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[02:52:14] [main/ERROR]: The minecraft jar file:/C:/Users/Robbe/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.982/forge-1.7.2-10.12.0.982-mcp.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[02:52:14] [main/ERROR]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[02:52:14] [main/ERROR]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Robbe/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.982/forge-1.7.2-10.12.0.982-mcp.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[02:52:14] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[02:52:14] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[02:52:14] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[02:52:16] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[02:52:19] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_17]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_17]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_17]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_17]
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:?]
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.7.0_17]
at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.7.0_17]
at java.lang.System.loadLibrary(Unknown Source) ~[?:1.7.0_17]
at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_17]
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:?]
... 6 more

 

Here's my variables incase you need them :

 

Prog args :

--version 1.7.2 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --accessToken whatever

 

VM args:

-Dfml.ignoreInvalidMinecraftCertificates=true

 

Main class :

net.minecraft.launchwrapper.Launch

 

Visited various topics about this problem, yet not solved.

 

EDIT: 1 minute after posting this I figured out that I've been using the wrong path and also the wrong library.

For those having the same issue, right click your project > properties > java build path > Libraries > Expand LWJGL 2.9.0.jar by clicking on the arrow > Double click native library location and input the correct path. It will probably look like "C:/Users/YourName/Desktop/forge.2/build/natives" or something else. The "build/natives" folder is what you need.

 

http://puu.sh/67wmS.png

http://puu.sh/67wkA.png

 

  • Quote

Share this post


Link to post
Share on other sites

Osky2918    1

Osky2918

Osky2918    1

  • Tree Puncher
  • Osky2918
  • Members
  • 1
  • 8 posts
Posted January 3, 2014

I don't get it. I have the exact same error and I have it set to [PATH TO FORGE FOLDER]/forge/build/natives

 

  • Quote

Don't mess it up like I did!

Share this post


Link to post
Share on other sites

TheRealKANi    0

TheRealKANi

TheRealKANi    0

  • Tree Puncher
  • TheRealKANi
  • Members
  • 0
  • 3 posts
Posted March 4, 2014

Worked perfectly for me..

  • Quote

Share this post


Link to post
Share on other sites

Zzyxz    2

Zzyxz

Zzyxz    2

  • Tree Puncher
  • Zzyxz
  • Forge Modder
  • 2
  • 33 posts
Posted March 12, 2014

I don't get it. I have the exact same error and I have it set to [PATH TO FORGE FOLDER]/forge/build/natives

 

 

Have the same problem

  • Quote

*********************************

**  Always remember you are unique,  **

**  just like everyone else                   **     

**********************************

Was my post helpful? Say thanks and

press the thank you button, on my post!!

God, damn it!

Share this post


Link to post
Share on other sites

Mattkx10    0

Mattkx10

Mattkx10    0

  • Tree Puncher
  • Mattkx10
  • Members
  • 0
  • 20 posts
Posted April 22, 2014

This fixed it for me. In my workspace however, there were multiple lwjgl jars so I had to change all of them to the correct path. Once I did so, everything was running fine!

  • Quote

Check out my website at:

 

http://mattkx4.github.io/

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • PotatoEz1
      Any good exploration mods for 1.16.3?

      By PotatoEz1 · Posted 8 minutes ago

      Does anybody know any cool mods for 1.16.3 that adds biomes and dungeons? Thanks!
    • XenoPyax
      GUI Button has weird image

      By XenoPyax · Posted 28 minutes ago

      SO I have the following code I've been looking through the gui of the Minecraft menus and replicated them but somehow my buttons don't seem to take the correct texture. Code: https://paste.md-5.net/figovuzufa.java Image:
    • Draco18s
      [1.16.4] setBlockState with out send update event.

      By Draco18s · Posted 32 minutes ago

      Still don't know why you added the 1 if you didn't want block updates.
    • DrakenXI
      [1.16.4] setBlockState with out send update event.

      By DrakenXI · Posted 46 minutes ago

      Thanks for your reply. You gave me another idea for a solution.   19 :  1 will cause a block update. 2 will send the change to clients. 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). That what I found in Minecraft source for "setBlockState" Function. 🤨    
    • Somonestolemyusername
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername · Posted 50 minutes ago

      all i has in it is  package com.vicken.mod3.entities.projectiles; import com.vicken.mod3.util.RegistryHandler; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.WallTorchBlock; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.item.ItemEntity; import net.minecraft.entity.projectile.ArrowEntity; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.potion.EffectInstance; import net.minecraft.potion.Effects; import net.minecraft.util.Direction; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockRayTraceResult; import net.minecraft.util.math.RayTraceResult; import net.minecraft.world.World; public class Ak47ArrowEntity extends ArrowEntity { public Ak47ArrowEntity(World worldIn, LivingEntity shooter) { super(worldIn, shooter); RegistryHandler.BULLET.get(); } @Override protected void arrowHit(LivingEntity living) { super.arrowHit(living); living.setFire(15); } }
  • Topics

    • PotatoEz1
      0
      Any good exploration mods for 1.16.3?

      By PotatoEz1
      Started 8 minutes ago

    • XenoPyax
      0
      GUI Button has weird image

      By XenoPyax
      Started 28 minutes ago

    • DrakenXI
      3
      [1.16.4] setBlockState with out send update event.

      By DrakenXI
      Started 20 hours ago

    • Somonestolemyusername
      16
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername
      Started Tuesday at 09:30 PM

    • Ipsissimus418
      2
      [1.16.4] WorldTickEvent Concurrent Access Exception

      By Ipsissimus418
      Started 4 hours ago

  • Who's Online (See full list)

    • PotatoEz1
    • MineModder2000
    • lawra771
    • Forix
    • Danebi
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [SOLVED] java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community