Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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(
        at java.lang.Runtime.loadLibrary0(
        at java.lang.System.loadLibrary(
        at org.lwjgl.Sys$
        at Method)
        at org.lwjgl.Sys.doLoadLibrary(
        at org.lwjgl.Sys.loadLibrary(
        at org.lwjgl.Sys.<clinit>(
        at org.lwjgl.util.Timer.<clinit>(
        at Microsoft.Xna.Framework.Game.<init>(
        at org.flixel.FlxFactory.<init>(
        at SSS.BTM.Main.BlocksThatMatter.main(
share|improve this question
up vote 1 down vote accepted

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


Hope this temporary workaround helps.

share|improve this answer
This makes the game works but i have to run the export command everytime – sarveshlad Nov 3 '11 at 0:32
Try launching it from Desura client for Linux (it's in beta, you have to require an invite to have access) It'simple and it just works. – neuromancer Nov 15 '11 at 8:34

I've installed that game and it runs with openjdk-6 (6b23~pre10-0ubuntu5) supplied in Ubuntu 11.10 32-bit (also on 11.04). There is no need to install Oracle Java if you only want to run this game. I didn't need to make BTM executable (installed blocks-matter_1.0.0.6_all.deb) it just run when started from the shortcut.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.