TheDurtch icon

Minecraft Black Screen Fix Using Oracle Java On Linux

TheDurtch | PRO | 01/02/13 10:54:44 PM UTC | 0 ⭐ | 270 👁️ | Never ⏰ | []
Bash |

930 B

|

None

|

0 👍

/

0 👎

#/bin/bash
 
# By TheDurtch
#
# If you need help with the code 
# or want to contact me shoot me a msg on twitter
# https://twitter.com/TheDurtch
#
# This was made on Linux Mint 14 64 bit
# 
# I am using Oracle Java 8 64 bit
# Installed it using this: 
# http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
# It works very well, at least for minecraft.
# 
# if using Oracle Java 7 64 bit use this 
# "/usr/lib/jvm/java-7-oracle/jre/lib/amd64/" 
# in place of LD_LIBRARY_PATH= 
# Install instutions here. 
# http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
#
# Change the LD_LIBRARY_PATH to where your java library is.
#
# I plan to change this into a script that scans for Java versions 
# and asks which one you want to use. 
#
 
export LD_LIBRARY_PATH="/usr/lib/jvm/java-8-oracle/jre/lib/amd64/"
java -Xmx1024M -Xms1024M -cp ~/bin/minecraft.jar net.minecraft.LauncherFrame

Comments