Minecraft not running on Java 7
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 installed OpenJDK 7 from the Debian Wheezy repo (it's now uninstalled), and I installed Oracle Java 7 following this guide: http://askubuntu.com/questions/56104...cle-java-jre-7. 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. |
If you want help you need to actually tell us what went wrong. How is "it doesn't work" meant to get you help?
|
Quote:
Code:
27 achievements |
well there are plenty of google hits if you'd just searched for that error. This may be of use: http://www.minecraftforum.net/topic/...r-blackscreen/
|
I've tried that $ export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64" fix already. That's the only fix I can find because it seems to fix everyone's problems. It doesn't work for me.
Thanks for posting by the way. |
Well, it definitely is a 32Bit/64Bit problem.
Did you download the correct version for your CPU ? (try "uname -a") What JVM are you running (try "java -version") ? Cheers, Tom. |
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.
Code:
c3po@debian:~$ java -version 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 |
So your Java looks good, 64 Bit VM for 64 Bit system.
It seems the libraries in "/home/c3po/.minecraft/" are 32 Bit. Does the software you try to run have a specific 64 Bit version ? Cheers, Tom. |
Minecraft should work on both 64 bit and 32 bit. I've used it on Windows with 64 bit Java with no problems.
|
Maybe there's some leftover files in your home directory ?
Try renaming /home/c3po/.minecraft to something else and re-run / re-install. Cheers, Tom. |
Quote:
|
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). Also, have you already checked http://java.com/en/download/help/minecraft_error.xml ? Cheers, Tom. |
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.
|
Bump. How can I get Java 7 to work?
|
Make sure that /opt/java/jre/lib/amd64 is an actual path in your system. On mine I needed to use /usr/lib/jvm/jre1.7.0/lib/amd64
So my script uses export LD_LIBRARY_PATH="/usr/lib/jvm/jre1.7.0/lib/amd64" |
All times are GMT -5. The time now is 03:10 PM. |