Package Base Details: mindustry

Git Clone URL: (read-only, click to copy)
Submitter: dmitmel
Maintainer: dmitmel
Last Packager: dmitmel
Votes: 22
Popularity: 0.92
First Submitted: 2019-10-10 21:43
Last Updated: 2021-03-29 18:05

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

dmitmel commented on 2020-03-10 14:08

@Daniel071 If you find a way to programmatically download releases from - please tell me, I don't know how to do this. The link is updated and has an expiration date and a unique token. Also, releases from don't contain the source code, so you submitted an out-of-date request to a wrong package (more appropriate would be mindustry-bin or mindustry-server-bin). GitHub repository doesn't contain tags for v104.5, so I can't build it from source either in this package. If you want the latest version - try mindustry-git.

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:)