LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wondering How to Install JDK Runtime in Manjaro to Run Minecraft (https://www.linuxquestions.org/questions/linux-software-2/wondering-how-to-install-jdk-runtime-in-manjaro-to-run-minecraft-4175435792/)

nickkourpias 11-05-2012 04:26 PM

Wondering How to Install JDK Runtime in Manjaro to Run Minecraft
 
I've been trying to run the Minecraft .jar from their site, however even after installing the JDK 7 Runtime from the repo, it still will not allow me to make it executable, nor does it show the JDK runtime as a program that can open the .jar. Is there any way to rectify this?

knudfl 11-06-2012 04:20 AM

Welcome to LQ.

A file.jar is not executable.

Is to be run with : $ java -Minecraft.jar
EDIT : Sorry for the typo, it is $ java -jar Minecraft.jar

Please show the output from the command 'java -version', if you have any issues.


.

nickkourpias 11-06-2012 10:58 AM

Alright thank you, but I put the command into the terminal and the error message read as follows:

Error: Could not find or load main class Minecraft.jar

nickkourpias 11-06-2012 11:00 AM

Also ere is the output string from 'Java -version':

java version "1.7.0_07"
OpenJDK Runtime Environment (IcedTea7 2.3.2) (ArchLinux build 7.u7_2.3.2-2-i686)
OpenJDK Server VM (build 23.2-b09, mixed mode)

knudfl 11-06-2012 11:22 AM

https://minecraft.net/download >
https://s3.amazonaws.com/MinecraftDo.../minecraft.jar
> minecraft.jar

$ java -jar minecraft.jar : OK with the sun / oracle java6.

$ java -version
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) Client VM (build 20.10-b01, mixed mode, sharing)

.

nickkourpias 11-06-2012 12:09 PM

Thanks for the help, when adding the '-jar' before 'minecraft.jar' it lauched, so thanks for the help.

Just4n 12-11-2012 01:41 AM

Thanks for the fix,
 
Thank you for this info, But I am also wondering about something else.

In Ubuntu, you can make .jar files executable and then execute them just by double clicking the .jar file, Does this not work in Manjaro or is it just an Arch thing?

But either way, At least I can play minecraft, Thanks again.


All times are GMT -5. The time now is 04:56 AM.