Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
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.
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
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.