LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-05-2012, 04:26 PM   #1
nickkourpias
LQ Newbie
 
Registered: Nov 2012
Location: Maryland
Distribution: Manjaro
Posts: 6

Rep: Reputation: Disabled
Exclamation 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?
 
Old 11-06-2012, 04:20 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,646

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
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.


.

Last edited by knudfl; 11-06-2012 at 12:52 PM.
 
1 members found this post helpful.
Old 11-06-2012, 10:58 AM   #3
nickkourpias
LQ Newbie
 
Registered: Nov 2012
Location: Maryland
Distribution: Manjaro
Posts: 6

Original Poster
Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 11-06-2012, 11:00 AM   #4
nickkourpias
LQ Newbie
 
Registered: Nov 2012
Location: Maryland
Distribution: Manjaro
Posts: 6

Original Poster
Rep: Reputation: Disabled
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)
 
1 members found this post helpful.
Old 11-06-2012, 11:22 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,646

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
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)

.
 
1 members found this post helpful.
Old 11-06-2012, 12:09 PM   #6
nickkourpias
LQ Newbie
 
Registered: Nov 2012
Location: Maryland
Distribution: Manjaro
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for the help, when adding the '-jar' before 'minecraft.jar' it lauched, so thanks for the help.
 
1 members found this post helpful.
Old 12-11-2012, 01:41 AM   #7
Just4n
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
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.

Last edited by Just4n; 12-11-2012 at 01:41 AM. Reason: typo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing java runtime envirionment and jdk on ubuntu 10.10 umair ahmed Ubuntu 1 07-25-2011 08:54 AM
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 10:04 AM
I an a Newbie to Ubuntu, was wondering what free antivirus, firewall and spyware, run gamer308 Linux - Security 1 09-30-2008 07:10 PM
Getting Java Runtime To Run tsuehpsyde Fedora 2 05-03-2004 12:54 AM
wondering how well this machine will run linux h00ligan Linux - Newbie 2 02-13-2004 12:53 AM


All times are GMT -5. The time now is 05:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration