Sunday, September 6, 2015

Install Minecraft in Ubuntu

Lubuntu 15.10, i3 Window Manager, ASUS G74sx-DH71

Install Oracle Java (Minecraft site suggests this version)me.)

  1. sudo apt-get purge openjdk-\*
  2. sudo add-apt-repository ppa:webupd8team/java 
  3. sudo apt-get update 
  4. sudo apt-get install oracle-java8-installer

Download Minecraft

Minecraft Download page


 Install Minecraft

  1. Navigate to the download folder in the command line
    • cd /home/<user directory>/Downloads
  2. java -jar Minecraft.jar

Create Custom Minecraft launcher script

(good for dmenu in i3 window manager)
  1. cd /usr/local/bin
  2. sudo touch minecraft
  3. sudo chmod +x minecraft
  4. sudo chown <username> minecraft
  5. sudo chgrp <username> minecraft
  6. sudo echo "#!/bin/bash" > minecraft
  7. sudo echo "java -jar /home/<user_directory>/.minecraft/launcher.jar" > minecraft

No comments:

Post a Comment