Package Details: mcaselector 2.2.2-1

Git Clone URL: https://aur.archlinux.org/mcaselector.git (read-only, click to copy)
Package Base: mcaselector
Description: An external tool to export or delete selected chunks and regions from a world save of Minecraft Java Edition.
Upstream URL: https://github.com/Querz/mcaselector
Licenses: MIT
Submitter: ROllerozxa
Maintainer: ROllerozxa
Last Packager: ROllerozxa
Votes: 8
Popularity: 0.000324
First Submitted: 2021-03-02 18:34 (UTC)
Last Updated: 2023-06-28 08:37 (UTC)

Dependencies (3)

Required by (0)

Sources (4)

Latest Comments

1 2 Next › Last »

Faldhuin commented on 2024-03-26 23:41 (UTC)

Had to edit the launcher script in '/usr/bin/mcaselector' as follows to get it working.

Essentially, the paths for JavaFX are wrong, the AUR packages installs it to 'java-xx-openjfx'.

#!/bin/sh

#JV="$(javac -version | sed -e "s,.* ,,")"
#hard-check against openjdk-17
JV=17

export PATH="/usr/lib/jvm/java-${JV}-openjdk/bin/:$PATH"

# javafx is installed to 'java-xx-openjfx', not 'java-xx-openjdk'
exec java --module-path /usr/lib/jvm/java-${JV}-openjfx/lib/javafx.base.jar:/usr/lib/jvm/java-${JV}-openjfx/lib/javafx.controls.jar:/usr/lib/jvm/java-${JV}-openjfx/lib/javafx.graphics.jar:/usr/lib/jvm/java-${JV}-openjfx/lib/javafx.swing.jar --add-modules javafx.base,javafx.controls,javafx.graphics,javafx.swing -jar /usr/share/java/mcaselector.jar "$@"

Cryen commented on 2023-03-24 13:30 (UTC) (edited on 2023-03-24 14:16 (UTC) by Cryen)

Any ideas on how to fix this? It looks like an option suggested by another user was implemented to the script but not recognized by the program?

Unrecognized option: --module-path
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Edit:
Nevermind, I had to change the default java environment to a never version.

shibashi commented on 2023-01-05 15:04 (UTC)

I get Module javafx.base not found. Turns out that the dependency java-openjfx will install 19.u11-1.

sudo pacman -S java17-openjfx && sudo pacman -Rsn java-openjfx

will resolve this.

MithicSpirit commented on 2022-09-04 19:30 (UTC)

Please replace the jre-openjdk dependency with java-runtime-openjdk so that we can choose which version to use.

lucaswerkmeister commented on 2022-08-27 12:16 (UTC)

Small suggestion for the mcaselector launcher script: Add exec to the beginning of the last line, so that the Java process replaces the shell process, instead of the shell staying around not doing anything :)

sem.z commented on 2022-04-23 07:37 (UTC)

mattsturgeon, I had same problem, turned out there is no javafx jars in /usr/lib/jvm/default/lib, so I reinstalled java-openjfx.

mattsturgeon commented on 2022-04-19 22:25 (UTC) (edited on 2022-04-19 22:29 (UTC) by mattsturgeon)

I get Module javafx.base not found

Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.base not found

I see that java-openjfx is a dependency, so I'm not sure what the problem is.

EDIT: archlinux-java status prints:

Available Java environments:
  java-11-openjdk
  java-17-openjdk (default)
  java-8-j9
  java-8-openjdk

lucaswerkmeister commented on 2021-12-05 14:34 (UTC)

Launcher script suggestion: add exec to the last line, i.e. exec java --module-path … – the launcher script doesn’t need to stay around, waiting for Java to exit.

sem.z commented on 2021-10-25 07:12 (UTC)

Well, it's not working now. The thing is, javac -version | sed -e "s,.* ,," produces 16.0.2, but there is no /usr/lib/jvm/java-16.0.2-openjdk folder, it's /usr/lib/jvm/java-16-openjdk. So i recommend you to use /usr/lib/jvm/default instead, this is link to default java folder.

ROllerozxa commented on 2021-10-24 18:40 (UTC)

Thank you, I've pushed a new package release version with this fix included.