LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 12-11-2017, 11:28 AM   #1
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Rep: Reputation: Disabled
Minecraft won't launch


Linux Mint 18.3 "Sylvia" - Cinnamon (64-bit)

Hi everyone,
I have created an account for my son. Of course, he is mostly interested in games.

We have installed Minecraft but the "launch" button doesn't appear in the Software Manager. It does appear in the menu, under games, but when we click on it nothing much happens. Does anybody have any suggestions?

thanks
 
Old 12-12-2017, 01:03 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,696
Blog Entries: 7

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Quote:
Originally Posted by mazerunner View Post
We have installed Minecraft
afaics one cannot just install it.
so how did you do that?

Quote:
nothing much happens.
so what DOES happen?


like in your other thread, minecraft is a java app.
you have to get java up and working first.
 
Old 12-12-2017, 06:06 AM   #3
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Original Poster
Rep: Reputation: Disabled
It's in the software manager. I clicked there and it installed. Up to now, when I install something through the software manager there appears a "launch" button next to "remove". This time, eventhough the game appears installed (with a green tick and everything), there is no "launch" button to be found in the software manager.

When I look in the menu, I spot it under "games". When I click on, nothing seems to happen. No reaction whatsoever.

My java version:
Code:
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)

Last edited by mazerunner; 12-12-2017 at 06:30 AM.
 
Old 12-13-2017, 11:01 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,696
Blog Entries: 7

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Quote:
Originally Posted by mazerunner View Post
When I look in the menu, I spot it under "games". When I click on, nothing seems to happen. No reaction whatsoever.
please go to /usr/share/applications and look for the launcher file.
open it in a plain text editor (in terminal: nano *inecraft*.desktop) and find the line that starts with 'Exec='
copy the rest of that line to a terminal and enter.
describe what happens, and post all the output you get here.
 
Old 12-14-2017, 01:33 PM   #5
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Original Poster
Rep: Reputation: Disabled
following your instructions:

Code:
java -jar /usr/share/minecraft/minecraft.jar
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f677b4c9009, pid=3215, tid=3216
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [libjava.so+0x1d009]  JNU_GetEnv+0x19
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/myUserName/core.3215)
#
# An error report file with more information is saved as:
# /home/myUserName/hs_err_pid3215.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Canceled (core dumped)
I checked /home/myUserName/hs_err_pid3215.log and it's too long and I'm not sure what to make of it.

Last edited by mazerunner; 12-14-2017 at 01:36 PM.
 
Old 12-15-2017, 02:35 PM   #6
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware 14.2, Debian 8.3
Posts: 97

Rep: Reputation: Disabled
i have same problem, just type minecraft in terminal
i get java not found moreover i had installed openjre

after i type

Code:
$ which java
which: no java in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/qt/bin:/usr/share/texmf/bin:/usr/sbin)
 
Old 12-15-2017, 02:45 PM   #7
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware 14.2, Debian 8.3
Posts: 97

Rep: Reputation: Disabled
after installing openjre from alien logout and login user it worked for me
 
Old 12-16-2017, 03:06 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,696
Blog Entries: 7

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Quote:
Originally Posted by mazerunner View Post
I checked /home/myUserName/hs_err_pid3215.log and it's too long and I'm not sure what to make of it.
neither do i.
if i were you, i'd uninstall minecraft, but make sure i have the correct java version runtime environment installed.
then i'd try to install minecraft manually (it shouldn't really be an installation, just unzip the file), following documentation all the way.
once you got it working, you can add your own .desktop file to ~/.local/share/applications for your son's convenience.
 
Old 12-16-2017, 07:45 AM   #9
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Original Poster
Rep: Reputation: Disabled
let's see.

I uninstalled not-working Minecraft
I downloaded it from the official site
I understand that clicking on Minecraft.jar should launch the game? When I do a Window opens that expects from me to unzip the file. I've tried that, too. And then?

Quote:
Originally Posted by ondoho View Post
make sure i have the correct java version runtime environment installed.
I have this version of java:
Code:
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)
How can I tell whether it is the correct version?

Quote:
Originally Posted by ondoho View Post
following documentation all the way.
I'm failing to find the documentation. Most probably I'm missing the obvious.

(and I want to cry so bad )

Last edited by mazerunner; 12-16-2017 at 07:46 AM.
 
Old 12-19-2017, 09:59 AM   #10
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 162

Rep: Reputation: 59
If you want to launch minecraft, do "java -jar minecraft.jar" at the command line. (Replace "minecraft.jar" with whatever it's named.)

Or, if you aren't comfortable with the command line, check out MultiMC. It replaces the mojang launcher and other modded launchers, so you can conglomerate all your instances into one launcher. (Actually, I'd recommend this for any minecraft player. MutliMC is awesome, and the dev version will import twitch modpacks directly.) It should get the system java automatically, but if it doesn't, you can specify which java to use in settings. (Like, for instance, you'd rather use the Oracle java as opposed to OpenJDK.)

Also, did you install java 1.8 or its OpenJDK equivalent? Minecraft requires it now, as opposed to the older 1.7/openjdk 7.
 
Old 12-19-2017, 01:11 PM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,696
Blog Entries: 7

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Quote:
Originally Posted by mazerunner View Post
I'm failing to find the documentation. Most probably I'm missing the obvious.
a quick look on their own pages didn't help me either, but there's plenty of other resources: https://duckduckgo.com/html?q=minecraft%20linux
 
  


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
LXer: Minecraft NFC -- How one man took Minecraft to the next level LXer Syndicated Linux News 0 02-21-2016 05:53 AM
[SOLVED] Launch Minecraft and Minecraft server as non-root user Hasek39 Linux - General 4 01-04-2016 03:06 AM
LXer: GOL MineCraft Weekly. Grab Issue 2 Today, Linux Minecraft server LXer Syndicated Linux News 0 08-04-2013 11:41 AM
Minecraft server won't work on CentOS 6 Altiris Linux - Newbie 10 05-08-2013 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration