TheDurtch

Minecraft Black Screen Fix Using Oracle Java On Linux

Jan 2nd, 2013
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.93 KB | None | 0 0
  1. #/bin/bash
  2.  
  3. # By TheDurtch
  4. #
  5. # If you need help with the code
  6. # or want to contact me shoot me a msg on twitter
  7. # https://twitter.com/TheDurtch
  8. #
  9. # This was made on Linux Mint 14 64 bit
  10. #
  11. # I am using Oracle Java 8 64 bit
  12. # Installed it using this:
  13. # http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
  14. # It works very well, at least for minecraft.
  15. #
  16. # if using Oracle Java 7 64 bit use this
  17. # "/usr/lib/jvm/java-7-oracle/jre/lib/amd64/"
  18. # in place of LD_LIBRARY_PATH=
  19. # Install instutions here.
  20. # http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
  21. #
  22. # Change the LD_LIBRARY_PATH to where your java library is.
  23. #
  24. # I plan to change this into a script that scans for Java versions
  25. # and asks which one you want to use.
  26. #
  27.  
  28. export LD_LIBRARY_PATH="/usr/lib/jvm/java-8-oracle/jre/lib/amd64/"
  29. java -Xmx1024M -Xms1024M -cp ~/bin/minecraft.jar net.minecraft.LauncherFrame
Advertisement
Add Comment
Please, Sign In to add comment