45

This guide (Which took me a little over 3 days to write and test) was made to solve most problems regarding the correct installation of Minecraft. It is very thorough and oriented for Ubuntu 11.10+ since this was the first version to include OpenJDK 1.7, but it might still be missing more information to solve more problems regarding Minecraft. I also did ...


34

Actually, a better answer is to enter the following at the command prompt. sudo update-ca-certificates -f


28

Before running the command try entering: export JAVA_HOME="path_to_java_home" Where path_to_java_home is the folder where your bin/java is. If java is properly installed you can find it's location, by using the command: readlink -f $(which java) Don't forget to remove bin/java from the end of the path while putting it into JAVA_HOME


25

Setting up a Minecraft launcher on Ubuntu 12.04, these steps worked for me, mostly pieced together from the various other tips. In a terminal, first fetch a Minecraft image icon: cd /usr/share/icons; sudo wget http://images.wikia.com/yogbox/images/d/dd/Minecraft_Block.svg Then create a minecraft.desktop file (using the gedit text editor to keep it user-...


21

The permissions don't have the execute bit set, so bash won't execute the script. You can set the bit and execute the script: chmod u+x mc.sh ./mc.sh or let bash execute it for you: bash mc.sh


19

I have the same problem but I installed via webupd8 - Install Oracle Java (JDK) 7 in Ubuntu via PPA Repository, searching the internet I found this script (I'm adapted the script to my system) but basically this is: #!/bin/bash export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64" java minecraft.jar The script for my system: #!/bin/bash export LD_LIBRARY_PATH=...


17

Sun Java has been disabled via a security update due to it exposing users to known security holes and has been removed from the partner archive. Due to the severity of the security risk, Canonical is immediately releasing a security update for the Sun JDK browser plugin which will disable the plugin on all machines. This will mitigate users' risk from ...


17

You can make it manualy, or using Alacarte. Here's the way: 1: Install Alacarte It will install some Gnome dependencies. Nothing to worry about. 2: Create a new entry In the command entry, click browse and select your .jar file. You may need to add /usr/bin/java -jar to the start of the Command, so that it looks like /usr/bin/java -jar /home/angel/...


16

The legal problems you are referring are about the distribution of Oracle Java. Its license prevents that it could be provided in the default repositories, but its perfectly legal to download and install it. Probably the easiest way is to use the WebUpd8 ppa: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-...


15

You must installed java on your system to install .jar files.Syntax to install .jar files was, java -jar packagename.jar In this case,you have Minecraft.jar file,so type the below command in terminal java -jar Minecraft.jar


14

Installation of Minecraft for 12.04, 12.10, 13.04, 13.10, 14.04, 14.10 and 15.04 is now possible with a PPA. sudo apt-get install python-software-properties sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer sudo apt-get update && sudo apt-get install minecraft-installer What are PPAs and how do I use them?


13

.jar files are not executable, so you have to open them with something (java): Exec=java -jar /home/benjamin/Applications/Minecraft/TechnicLauchner/technic-launcher-latest.jar Anyway, I wouldn't recommend creating those files manually from scratch.


13

To make it automatic on Linux/Ubuntu, add these lines at the end of your .bashrc: JAVA_HOME=$(dirname $( readlink -f $(which java) )) JAVA_HOME=$(realpath "$JAVA_HOME"/../) export JAVA_HOME This gets java executable, then climbs up a directory level To designate the default java version/executable on Debian/Ubuntu, run this once: sudo update-alternatives ...


13

Just do sudo update-ca-certificates -f


12

Pressing control-H in Nautilus will show also files starting with a .. If you want this permanent: Files > Preferences will have a setting for this: In command line ls -la the a part will also show hidden files.


11

Try this: sudo rm -rf ~/.local/share/Trash/* Of course replace the * with the folder that you wish to delete or else everything in the trash will be deleted.


10

Edit your Java arguments (Profile Settings) for starting the game and get rid of CMSIncrementalMode. If your using Java 8 you don't really need any arguments. If you have not installed Java Look here...Install Java 8


9

Ubuntu would be a superior choice for hosting a server based application, especially if you use the server edition of Ubuntu. There would be less resources diverted to unnecessary things, like the desktop interface. The downside is that it would be command line only. You can always still go with Ubuntu desktop if you need a desktop interface. To setup a ...


8

Found this on a Fedora forum and it worked nicely for me running 12.04 Ubuntu-64bit with OpenJDK7u3 Link "I just had the same problem, and here is what worked for me: Go to http://lwjgl.org/download.php Click the link to download the newest stable release Download lwjgl-x.x.x.zip (lwjgl-2.8.3.zip at the time of writing) Go to your home ...


8

You can install OpenJDK by pressing this link. After, open Minecraft with right-click in Minecraft.jar > Open with > OpenJDK Java 7 Runtime. If it's still not working, press this link, and do the same as before.


7

What you want to do is use screen. It allows spawning a process inside its session and detaching from it. Essentially , your question is similar to this. The 3 steps that you want to do: The line below has to go into your /etc/rc.local. Add & sign at the end of it ( important !) screen -S MyMinecraftServer -d -m java -jar ./SOMEFILES/CLEANUP/...


6

Here's a script to install minecraft and help troubleshoot most issues that can arise: To get minecraft running, right click the minecraft.jar file, go to properties, permisions, and set it allow running as an executable. Now you can right click it, and run with a java. If you want to properly have minecraft installed: have its icon, be able to launch with ...


6

I play minecraft and I fixed the issue by: Using oracles version of java by using the wepupd8 teams java ppa. Follow this tutorial: http://www.ubuntugeek.com/how-to-install-oracle-java-7-in-ubuntu-12-04.html Then try this in terminal export LD_LIBRARY_PATH="/usr/lib/jvm/java-7-oracle/jre/lib/i386" And then: java -jar technic-launcher-latest.jar If ...


6

Patching LWJGL in Minecraft (Linux) Download the LWJGL files Go to the LWJGL download page and download the latest stable release. Open the .zip in Archive Manager. The jars are found in "jar" and the natives are found in "natives/linux" Patch the LWJGL files by doing the following Open your home directory (You can usually just do this by opening the ...


6

Download the latest copy of LWJGL from here http://lwjgl.org/download.php and extract it Copy the following to ~/.minecraft/bin jinput.jar lwjgl.jar lwjgl_util.jar And the following to ~/.minecraft/bin/natives libjinput-linux.so libjinput-linux64.so liblwjgl.so liblwjgl64.so libopenal.so libopenal64.so Then restart Minecraft Make sure you overwrite the ...


6

You can create a .desktop file that will do this. Bash file are usually run from the terminal, while .desktop files simply run a command, not necessarily needing a Terminal. As for launching Minecraft, that's simple enough. Run nano ~/.local/share/applications/minecraft.desktop in Terminal Copy/paste this in to the file you just opened: [Desktop Entry] ...


6

The proper way to use a portable app like this under Ubuntu requires also creating a "*.desktop" file for its executable (which is "Minecraft.jar" in this case), and putting it in one of these folders: /usr/share/applications, /usr/local/share/applications, or /home/jay/.local/share/applications (which looks like the one you would prefer). If you want a "...


6

All I did was go to: https://minecraft.net/download and select "Show All Platforms". Next I clicked and downloaded the Minecraft.jar file. Thats it. Just be sure you have Java installed. You also may need to click the Minecraft.jar file properties and change the file to launch as an executable. There may be other ways but this has worked for me.


5

There is a much easier way to do this. Go to the software centre and search for the package "Main menu" and install it. Also, go to Google images and find a PNG of the minecraft icon: here's one: PNG of minecraft icon Download (save) the PNG and minecraft.jar. I suggest put it in the Home Folder. Open up "Main Menu" by hitting the Dash BFB and search for ...


Only top voted, non community-wiki answers of a minimum length are eligible