Package Details: mindustry 1:5.0_104.1-1

Git Clone URL: (read-only, click to copy)
Package Base: mindustry
Description: A sandbox tower defense game written in Java
Upstream URL:
Licenses: GPL3
Submitter: dmitmel
Maintainer: dmitmel
Last Packager: dmitmel
Votes: 8
Popularity: 1.84
First Submitted: 2019-10-10 21:43
Last Updated: 2020-02-12 06:13

Dependencies (6)

Required by (0)

Sources (5)

Latest Comments

1 2 Next › Last »

dmitmel commented on 2020-01-03 16:03

@vasya @Corubba I can't replicate the error you get, although I added some code to find and select a compatible JDK nevertheless. Sorry for a late response, it's holidays after all.

vasya commented on 2020-01-01 17:55

Generally it's a mess I think, no really good solution. Something that would "mostly" work is:

export PATH="/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH"
export PATH="/usr/lib/jvm/java-9-openjdk/jre/bin/:$PATH"
export PATH="/usr/lib/jvm/java-10-openjdk/jre/bin/:$PATH"
export PATH="/usr/lib/jvm/java-11-openjdk/jre/bin/:$PATH"
export PATH="/usr/lib/jvm/java-12-openjdk/jre/bin/:$PATH"
./gradlew ...args...

the app itself is runnable on jre-13, just checked.

Unfortunately I do not know any way to even pin specific version, like 8, without also specifying that it should be openjdk specifically.

dmitmel commented on 2020-01-01 01:10

vasya, could you please provide an example script which selects JRE on Arch based on its version?

vasya commented on 2019-12-31 15:35

... and mindustry dev said that gradle 6 won't be supported for now, so we need to fix it in AUR.

One way of doing that is to specify the dependencies like that: depends=("java-runtime>=8" "java-runtime<13")

This will ensure that the right jre is installed, but it won't check on what's actually used. To make the *.sh script work properly, the PATH tricks (mentioned in prev comments) need to be used....

vasya commented on 2019-12-31 12:24

I've raised an issue upstream, hopefully they'll fix it soon.

Corubba commented on 2019-12-30 22:31

In case someone else hits a Unsupported class file major version 57 during the gradle build: Gradle supports Java13 only from version 6 onwards. You need to change the url in gradle/wrapper/ to the latest v6 release (6.0.1 at time of writing).

vasya commented on 2019-10-28 10:14

Builds fine. Thanks for changing! Run-time was already using system-s default, 11 in my case, so there's no explicit reason to check. (And I'm at work now.)

dmitmel commented on 2019-10-28 09:23

vasya: try updating now

vasya commented on 2019-10-28 09:13

It does work with 11 as far as I could test indeed, I've been playing campaign and online in the past days with it. Also, since the game is started with java -jar, version 11 might still take priority on many systems. If you want to really push 11, maybe you can look into that: (I would just specify 8+ though:)

dmitmel commented on 2019-10-28 08:34

vasya: It does work with Java 11 (at least starts, just tested), however only Java 8 is officially supported, so I'd rather wait for official announcements.