Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

if I run Minecraft with OpenJDK 6 or 7 on my Ubuntu 12.04 machine, it eats nearly of the CPU and I have lags during minecraft gameplay.

What I have tried so far:

  • start minecraft with something like java -Xmx2044M -Xms1024M -jar minecraft.jar
  • Using recommended Nvdia drivers
  • Using latest beta nvidia drivers
  • Tested minecraft with both openJava Versions (6/7)
  • Switched between Unity 2D and Unity 3D
  • Verified that I am using the latest graphic engine that is used by Minecraft (LWJGL)

My machine is an AMD Phenom 955x using Ubuntu 12.04 with a Nvidia GTX 275

Until now nothing changed the bad performance of minecraft. Suggestions are much appreciated, thank you in advance for any help!

share|improve this question
Did you try this answer: that is what saved me from that problem. Specially the part about the libraries. Not so much about the parameters needed for the java command. – Luis Alvarado Nov 23 '12 at 18:40
Yes I tryed that already - That is meant by "Verified that I am using the latest graphic engine that is used by Minecraft (LWJGL)" What that guy is talking about exactly the procedure to update the LWJGL to the latest version. Thanks anyway :) – Grrbrr404 Nov 23 '12 at 19:53

You could try using OptiFine - it's worked well for me in the past.

The SSP mod also works very well; Minecraft singleplayer now runs as a shell of SMP (thus enabling LAN connection), and this mod allows Minecraft to run like it used to, just as pure SSP.

share|improve this answer
Thanks for the advice, but did not help much - CPU Usage dropped from 125% to ~110% after i haved turned off most of the effects. I think it is not a graphic related problem – Grrbrr404 Nov 23 '12 at 20:19
@Grrbrr404 Have you tried using Sun/Oracle Java instead of OpenJDK? – DaimyoKirby Nov 23 '12 at 20:29
No I have not, because it seems no one else could solve it by installing Oracle Java - I have not found any confirmation on the web. And last but not least openJDK ist officially recommended by oracle for linux systems - Thats the reason why I would like to stick with openJDK. Thanks anyway – Grrbrr404 Nov 25 '12 at 8:44

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.