-1

So I looked on the internet and found instructions for installing Minecraft for Linux. I downloaded OpenJDK 7 from the software center, and got Minecraft from the official site. I checked "allow executing file as a program" under permissions in properties. I went to "Open with..." but I can't seem to find "OpenJDK 7".

I am completely clueless by now, and I am not sure what to do. I may be doing something wrong, or is there something I am missing?

4

Sometimes you have to set permissions manually first via terminal - i don't know if the checkbox is enough. Execute the following command in the terminal:

chmod a+x path/to/minecraft/minecraft.jar

To start the game via console, execute:

java -jar path/to/minecraft/minecraft.jar

If that doesn't work, your JRE installation is invalid.

  • @Y U NO WORK Terminal says: "chmod: cannot access ‘path/to/minecraft/minecraft.jar’: No such file or directory<<" – John Hickox May 18 '15 at 12:05
  • 4
    ... you're, you're supposed to replace that with the actual path to minecraft.jar – Kevin May 18 '15 at 12:22
  • @JohnHickox Well ... i thought it's obvious that you have to enter your OWN path there, I'd be surprised if that is your actually mc path.^^ – Y U NO WORK May 18 '15 at 12:29
  • says same thing – John Hickox May 18 '15 at 12:29
  • 2
    Then you're entering the path wrong or the file does not exist because you didn't download it yet or something. But this is not a problem with Java for sure then.^^ – Y U NO WORK May 18 '15 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.