Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I cannot get Minecraft to run on Java 7. Right now I have Oracle Java 7 installed with OpenJDK 6 as a backup. When I start Minecraft with Oracle Java 7, it gives me a black screen after login. It runs at a mediocre 45 FPS with OpenJDK 6 (I get 120 FPS on Windows). I've tried OpenJDK 7 too and it doesn't work either. I haven't tried SunJDK 6.
I've read that Java 7 could give me better performance, so I want to see if I can get either OpenJDK or Oracle Java 7 to work. If I can get 120 FPS on Windows, I should be able to get at least 60 on Linux.
When I start Minecraft with Oracle Java 7, it gives me a black screen after login.
That's how it doesn't work. If I run it from terminal, I get this after I log in (is that what you meant?):
Setting user: Lumify, 3704789772431793636
Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: /home/c3po/.minecraft/bin/natives/liblwjgl.so: /home/c3po/.minecraft/bin/natives/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.Thread.run(Unknown Source)
It looks like the problem involves elves, but Santa doesn't know anything about it. Any ideas?
I think it is the right version. I'll show you the Java 6 info and the Java 7 info. I have both installed right now.
c3po@debian:~$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b24~pre2-1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
c3po@debian:~$ sudo update-alternatives --config java
[sudo] password for c3po:
There are 4 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
* 0 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 auto mode
1 /usr/bin/gij-4.4 1044 manual mode
2 /usr/bin/gij-4.6 1046 manual mode
3 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode
4 /usr/lib/jvm/jre1.7.0_03/bin/java 3 manual mode
Press enter to keep the current choice[*], or type selection number: 4
update-alternatives: using /usr/lib/jvm/jre1.7.0_03/bin/java to provide /usr/bin/java (java) in manual mode.
c3po@debian:~$ java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
uname -a gives me this:
Linux debian 3.1.0-7.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Wed Jan 4 21:13:24 CST 2012 x86_64 GNU/Linux
Most people seem to run in on Sun Java6.
You can download Java6 from oracle.com and install it to s special/dedicated directory without affecting the rest of the system, if you download the zip/tgz.
(Java does not NEED to be installed as a Linux package, that's just convenience).
Sorry about the late reply. Java 6 is currently working, but I'm getting a horrendous framerate. I have read that Java 7 gives better performance, so I want to use that. The game does not leave an error log, and my graphics driver is up to date anyway.