The Meaning of Life, the Universe, and Everything.
Join Date:
2/20/2015
Posts:
46
Minecraft:
LouWestin
Member Details
I've been trying to install and run Minecraft on Fedora 21. I followed one of the tutorials that said to create a .mincraft folder, saved the minecraft.jar in that folder, installed alacarte, and created a menu command java -Xmx1024M -Xms512M -jar /home/username/.minecraft/minecraft.jar However I couldn't get alacarte to create the menu item since the ok button was greyed out.
The other thing I tried was to run java -jar Minecraft.jar but that didn't work either.
I'm dual booting with Windows 7 / Linux so I can run Minecraft under Windows no problem; It would be nice to have it in Linux too if I can get it working.
I like Linux Mint, but I decided to go with Fedora since I liked it a little better. lol
I think I can help you get your copy of Minecraft working on Fedora 21. I recently had to make the client work on a laptop with a fresh install of Fedora 21 and I ran into a bunch of problems. Luckily I have a background in Linux (specifically Fedora/Red Hat) and was able to figure out what the problem was.
First, the reason you can't get Alacarte to accept the input is because you're typing the actual command with arguments instead of referencing an executable file. If you put the commands in a file and point to that with Alacarte, you will be able to create the menu item.
Second, the reason the Minecraft client didn't launch for me was because I didn't have all the right java packages installed. Fedora 21 Workstation comes with java-1.8.0-openjdk-headless installed, but it doesn't have the pieces to run the graphical part of the game. I know it will run the server version because I set up individual Minecraft servers on my Linux server for my nephews without a hitch, but the server software doesn't use a graphical front end. To get the client to work, you need to install the graphical java pieces. The following command, logged in as root, will do that for you:
yum install java-1.8.0-openjdk
Once that software is installed, you can run the following command to get it to launch, assuming you are in the directory with the file and the capitalization is correct (the version I downloaded the other day has the first letter capitalized):
Hello, I have been having this same issue with Alacarte not recognizing the "commands" section. I can access and start the game from terminal as long as i am in the current directory in which it exists by using java -jar Minecraft.jar[/b]. Unfortunately this setup is for my young son whom has never had the chance to enjoy command line.
The only thing that command line will accept is the path to the Minecraft.jar file, and no commands to execute the file. Ive even tried to list the line of commands absolutely /usr/bin/java -jar /home/username/.minecraft/Minecraft.jar and you just cannot get past the java portion as both java and jar are both located in the bin file.
Any suggestions on what I am doing incorrectly.
It could be just because its now 4am and I should have given up on this long ago once I got it installed and working without a easy link for my son, but what can you say, I know the first words out of his mouth when he wakes up are going to be, "did you get it Dad?"
So any help would be great.
Thanks,
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The other thing I tried was to run java -jar Minecraft.jar but that didn't work either.
Regardless, why Fedora? Why not Linux Mint?
- C.C.
Alacarte is a menu creation add-on. Here's a link of what I was trying to with alacrate https://ask.fedoraproject.org/en/question/23205/how-do-i-install-and-play-minecraft-on-fedora/
I'm dual booting with Windows 7 / Linux so I can run Minecraft under Windows no problem; It would be nice to have it in Linux too if I can get it working.
I like Linux Mint, but I decided to go with Fedora since I liked it a little better. lol
I think I can help you get your copy of Minecraft working on Fedora 21. I recently had to make the client work on a laptop with a fresh install of Fedora 21 and I ran into a bunch of problems. Luckily I have a background in Linux (specifically Fedora/Red Hat) and was able to figure out what the problem was.
First, the reason you can't get Alacarte to accept the input is because you're typing the actual command with arguments instead of referencing an executable file. If you put the commands in a file and point to that with Alacarte, you will be able to create the menu item.
Second, the reason the Minecraft client didn't launch for me was because I didn't have all the right java packages installed. Fedora 21 Workstation comes with java-1.8.0-openjdk-headless installed, but it doesn't have the pieces to run the graphical part of the game. I know it will run the server version because I set up individual Minecraft servers on my Linux server for my nephews without a hitch, but the server software doesn't use a graphical front end. To get the client to work, you need to install the graphical java pieces. The following command, logged in as root, will do that for you:
yum install java-1.8.0-openjdk
Once that software is installed, you can run the following command to get it to launch, assuming you are in the directory with the file and the capitalization is correct (the version I downloaded the other day has the first letter capitalized):
java -Xms512M -Xmx1024M -jar Minecraft.jar
If you are still having problems, let me know.
Hello, I have been having this same issue with Alacarte not recognizing the "commands" section. I can access and start the game from terminal as long as i am in the current directory in which it exists by using java -jar Minecraft.jar[/b]. Unfortunately this setup is for my young son whom has never had the chance to enjoy command line.
The only thing that command line will accept is the path to the Minecraft.jar file, and no commands to execute the file. Ive even tried to list the line of commands absolutely /usr/bin/java -jar /home/username/.minecraft/Minecraft.jar and you just cannot get past the java portion as both java and jar are both located in the bin file.
Any suggestions on what I am doing incorrectly.
It could be just because its now 4am and I should have given up on this long ago once I got it installed and working without a easy link for my son, but what can you say, I know the first words out of his mouth when he wakes up are going to be, "did you get it Dad?"
So any help would be great.
Thanks,