Difference between revisions of "Minecraft"
(→Linux) |
|||
Line 41: | Line 41: | ||
Then run this to check what version you have installed: | Then run this to check what version you have installed: | ||
java -version | java -version | ||
+ | |||
+ | Start server | ||
+ | java -Xms1G -Xmx1G -jar minecraft_server.jar nogui |
Revision as of 13:00, 5 August 2015
Minecraft was purchased by Micro$oft. When you pay to play Minecraft you are no longer supporting an independent developer. Do not pay for Minecraft because you will be paying Micro$oft.
Play Minecraft for free
Use Mineshafter. This allows you to play Minecraft on a PC for free with most of the features and latest version.
Linux
Ubuntu
Troubleshooting:
Minecraft running slow - my linux minecraft was running on 12 to 14 fps. i have installed hava 7,java 8, openjdk 7 and everything requires but minecraft stil slow
This command should tell you what is currently providing the Java virtual machine (java) and the Java compiler (javac):
file /etc/alternatives/java /etc/alternatives/javac
This assumes the "alternatives" system is working properly, which might not be the case, depending on how Java has been "messed up" in the past. To check this, run:
file `which java javac`
If the alternatives system is working correctly and being used by Java, then you should see:
/usr/bin/java: symbolic link to `/etc/alternatives/java' /usr/bin/javac: symbolic link to `/etc/alternatives/javac'
Set up Minecraft server on Ubuntu
First install Oracle Java
Run the following commands in this order to add the PPA, update the source list and then install java:
sudo apt-add-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer
Then run this to check what version you have installed:
java -version
Start server
java -Xms1G -Xmx1G -jar minecraft_server.jar nogui