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

Git Clone URL: https://aur.archlinux.org/mindustry.git (read-only, click to copy)
Package Base: mindustry
Description: A sandbox tower defense game written in Java
Upstream URL: https://github.com/Anuken/Mindustry
Licenses: GPL3
Submitter: dmitmel
Maintainer: dmitmel
Last Packager: dmitmel
Votes: 10
Popularity: 0.61
First Submitted: 2019-10-10 21:43
Last Updated: 2020-03-28 13:31

Dependencies (6)

Required by (0)

Sources (5)

Latest Comments

1 2 Next › Last »

dmitmel commented on 2020-03-10 14:08

@Daniel071 If you find a way to programmatically download releases from itch.io - 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 itch.io 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. https://github.com/Anuken/Mindustry/issues/1291

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/gradle-wrapper.properties 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: https://wiki.archlinux.org/index.php/Java#Launching_an_application_with_the_non-default_java_version (I would just specify 8+ though:)