Git Product home page Git Product logo

minecraft-installer's People

Contributors

flexiondotorg avatar grahamedgecombe avatar ienorand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

minecraft-installer's Issues

Add workaround for loading libjawt.so

In old versions of LWJGL the way it loads libjawt.so is broken in Java 7:

http://mail.openjdk.java.net/pipermail/jdk7-dev/2011-August/002257.html

I guess it's fixed in newer versions of LWJGL, but Minecraft seems to be using an older one, so it would be nice if the package could automatically workaround this somehow.

~% minecraft
asdf
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/graham/.minecraft/bin/natives/liblwjgl.so: libjawt.so: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
    at java.lang.Runtime.load0(Runtime.java:792)
    at java.lang.System.load(System.java:1059)
    at org.lwjgl.Sys$1.run(Sys.java:69)
    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.<clinit>(Sys.java:98)
    at net.minecraft.client.Minecraft.F(SourceFile:1976)
    at asz.<init>(SourceFile:20)
    at net.minecraft.client.Minecraft.<init>(SourceFile:75)
    at asq.<init>(SourceFile:38)
    at net.minecraft.client.MinecraftApplet.init(SourceFile:38)
    at net.minecraft.Launcher.replace(Launcher.java:136)
    at net.minecraft.Launcher$1.run(Launcher.java:79)
^C%                                                                                                                                                                                                                                           ~% 

Dependencies

We should probably depend on default-jre | java-runtime instead of openjdk-7-jre | java-runtime - only realised this after building and uploading the latest version.

Also I wonder if the server should depend on default-jre-headless | java-runtime-headless with default-jre | java-runtime as Suggests so the package doesn't pull in X11-related stuff on a headless server?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.