Package Details: multimc5 0.6.7-2

Git Clone URL: https://aur.archlinux.org/multimc5.git (read-only)
Package Base: multimc5
Description: Minecraft launcher with ability to manage multiple instances.
Upstream URL: http://multimc.org/
Keywords: launcher minecraft
Licenses: Apache
Conflicts: multimc
Provides: multimc
Submitter: vorpalblade
Maintainer: xiretza
Last Packager: xiretza
Votes: 60
Popularity: 3.04
First Submitted: 2015-06-06 11:37
Last Updated: 2019-10-03 15:27

Dependencies (10)

Required by (1)

Sources (5)

Pinned Comments

Fuxy commented on 2019-07-13 08:47

just a friendly reminder even though this installs packages of jdk < 12 it will still attempt to use the default one which may be set to 12 like in my case.

You need to use sudo archlinux-java status and sudo archlinux-java set java-11-openjdk to figure out what you have and set something lower than 12 as default before attempting to install.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

nametable commented on 2019-03-11 03:36

@ShayBox: I found at least a temporary solution as I was having the same problem. I used archlinux-java to change my Java environment back to a JDK. In my case I was using java-8-jre/jre instead of java-8-openjdk or java-8-jdk.

Here's what I did since I had jdk8 (http://aur.archlinux.org/packages/jdk8) installed. jdk8-openjdk would also probably work:

$ archlinux-java status
Available Java environments:
  java-8-jdk
  java-8-jre/jre (default)
  java-8-openjdk
$ sudo archlinux-java set java-8-jdk

This solved the problem for me.

xiretza commented on 2019-03-06 10:58

@ShayBox: it builds in a clean chroot, and I honestly can't be bothered to try adding special support for multiple java versions to the PKGBUILD, sorry. Feel free to post a good, working patch though.

ShayBox commented on 2019-03-06 01:25

I'm getting this error:

  No CMAKE_Java_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "JAVA_COMPILER" or the CMake cache entry CMAKE_Java_COMPILER to
  the full path to the compiler, or to the compiler name if it is in the
  PATH.

I could set that env, but only this package (and multimc-git) have had this error googling it, this is arch with base-devel, and multiple java versions installed.

Reden commented on 2019-03-02 05:15

Why is the java-environment package necessary? The runtime alone seems to work well enough.

@CodingKoopa, you need Java 8. Vanilla Minecraft can run with an older version, but modded specifically demands 8.

ninja edited for formatting

CodingKoopa commented on 2019-02-24 01:50

I'm getting this when building this package: "The dependency jdk-openjdk demands version <10, but the most recent version is 11.0.2.u7-1.". I have both the "jdk-openjdk" and "jdk10-openjdk" packages installed, with the Java 11 runtime set as the default with the "archlinux-java" script.

Monkeyfume commented on 2018-09-06 20:46

@xiretza well, you were right... I forgot the backslash and now that I have placed it correctly, I realize I have not "fixed" the issue and I am back to square one.

xiretza commented on 2018-09-06 18:01

@Monkeyfume: this is why I asked for a diff, you probably messed up the cmake command while "fixing" your broken java path. The last argument to cmake has to be .., you probably forgot a backslash to escape the newline at the end of your variable definition.

Monkeyfume commented on 2018-09-06 17:30

@xiretza here is my output before changing the PKGBUILD: https://pastebin.com/6qss3UX3

@ender4's suggestion from 2017-10-30 was "I was able to compile it with openjdk-9 installed by changing the cmake line of the install script to include "-DJAVA_HOME=/usr/lib/jvm/java-8-openjdk" ". I followed this and the No CMAKE_Java_COMPILER could be found. ... error went away. However now I am left with the second error, CMake Error: The source directory "/tmp/yaourt-tmp-monkeyfume/aur-multimc5/src/MultiMC5-0.6.2/build" does not appear to contain CMakeLists.txt.

xiretza commented on 2018-09-06 17:06

@Monkeyfume: "I changed the PKGBUILD and now it won't build anymore" - sorry, can't really help you with that, at least not without a diff.

Monkeyfume commented on 2018-09-06 15:56

I was able to solve my previous issue from a few comments down, and compiled using ender4's suggestion of editing the PKGBUILD.

However, I now receive the error: CMake Error: The source directory "/tmp/yaourt-tmp-monkeyfume/aur-multimc5/src/MultiMC5-0.6.2/build" does not appear to contain CMakeLists.txt.