Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1003  / 1 Year ago, sat, april 29, 2023, 9:55:23

I have installed latest JDK 1.7.0_u1 using the method provided at this page WebUpd8.



I have also extracted the deb setup I got and edited the control file so as not to install java6.



I'm getting the following error when i run using:
java -jar /opt/BlocksThatMatter/BTM.jar



Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at org.lwjgl.Sys$1.run(Sys.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:82)
at org.lwjgl.Sys.<clinit>(Sys.java:99)
at org.lwjgl.util.Timer.<clinit>(Timer.java:50)
at Microsoft.Xna.Framework.Game.<init>(Game.java:19)
at org.flixel.FlxFactory.<init>(FlxFactory.java:74)
at SSS.BTM.Main.BlocksThatMatter.main(BlocksThatMatter.java:13)

More From » java

 Answers
0

We are working on this.



For now, what you can try is:




  • open terminal


  • move to the game folder:




cd /opt/BlocksThatMatter/




  • allow executable rights on the BTM executable:



chmod +x BTM
(may requires admin rights: sudi chmod +x BTM)




  • add update your path:



export LD_LIBRARY_PATH="/usr/lib/jvm/jdk1.7.0_01/jre/lib/amd64"



(this may vary depending: your processor architecture ; if you are using the OpenJDK, or the Oracle non-free ; the place where you installed your java machine)
For example, it can also be export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64"




  • then try ti run the game with



./BTM



Hope this temporary workaround helps.


[#42363] Sunday, April 30, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
humbire

Total Points: 55
Total Questions: 93
Total Answers: 113

Location: Oman
Member since Fri, Dec 23, 2022
1 Year ago
humbire questions
Thu, May 13, 21, 02:28, 3 Years ago
Sun, Oct 24, 21, 14:23, 3 Years ago
Wed, May 17, 23, 22:16, 1 Year ago
;