Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Minecraft lags badly in my linux than windows! in windows i dont find trouble playing it!

My system specs : processor : AMD Athlon x2 260 3.2ghz dual core

              Graphic card : Ati radeon 3000 series
  • ram : 4gb (3.25 usable)

I have ubuntu 12.04 and I want allocate more ram to minecraft!

I have 4gb physical ram (ONLY 3.25 USABLE)

I have openjdk 7

ALSO TELL ME OTHER WAYS TO RUN MINECRAFT SMOOTHLY! PLEASE HELP!!!!!!!!!!!!

share|improve this question

1 Answer 1

From what ive read, Ubuntu’s 3D desktop sometimes causes issues with Minecraft. You could try logging in with unity 2d instead and see if this improves your issues.Though im not really sure what you mean by "lags". Since not having the black screen of death issues, i presume you are using minecraft version 1.3 .This should work fine with the allocated ram,and shouldn't have the need to manually install the updated Lightweight Java Game Library .

To answer your question

-Xmx sets the maximum memory and Xms sets the minimum memory

java -Xmx2096M -Xms1048M -cp minecraft.jar net.minecraft.LauncherFrame

changing 2096M and 1048M to the amounts you desire

share|improve this answer

Your Answer

 
discard

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.