Package Details: maptool 1.16.2-1

Git Clone URL: https://aur.archlinux.org/maptool.git (read-only, click to copy)
Package Base: maptool
Description: An open source virtual tabletop program
Upstream URL: https://rptools.net/tools/maptool
Keywords: maptool role-playing roleplaying roleplaying-game roleplaying-games rpg tabletop virtual-tabletop vtt
Licenses: AGPL-3.0-or-later
Submitter: waltersm
Maintainer: patlefort
Last Packager: patlefort
Votes: 4
Popularity: 0.008547
First Submitted: 2019-03-18 16:15 (UTC)
Last Updated: 2025-03-27 07:40 (UTC)

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

1 2 3 Next › Last »

patlefort commented on 2025-04-06 20:13 (UTC)

If you have installed openjfx somewhere else, you can try to set the JAVAFX_PATH environment variable to its location before launching maptool.

patlefort commented on 2025-04-06 19:29 (UTC)

What package did you install? I'm using java21-openjfx which works fine. However, I am having issues building gradle7 which is needed to build java21-openjfx.

UNSKILLEDKeks commented on 2025-04-06 17:03 (UTC)

So I've been trying to get this to work as a Linux noob, I've been getting this error: /usr/lib/jvm/java-21-openjdk/lib/javafx*.jar' not found (translated from german)

As far as I understand, javafx is no longer supported by the openjdk (https://stackoverflow.com/a/38342245), which is why there is a separate package dependency for javafx that I found that was in fact installed, yet isn't recognized

How can I have the dependency essentially redirect where it checks for the package?

patlefort commented on 2025-03-17 22:48 (UTC)

I just bumped the version. Do you have the same problem? Also try to clean the build directory just in case. Also try to build in a clean container/chroot.

rogue_ronin commented on 2025-03-17 20:55 (UTC) (edited on 2025-03-18 03:22 (UTC) by rogue_ronin)

Upgraded from gradle 7 to gradle 8, problem resolved. Thanks for your patience, and hopefully may help someone else...

How could I resolve this? I usually use the binary, but I'm eager for the new version. :)

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file '/home/user/.cache/yay/maptool/src/maptool/settings.gradle' (/home/user/.gradle/caches/7.6.4/scripts/denvdqm8a5jzbtfojczu4aflm).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: maptool-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
maptool - exit status 4

patlefort commented on 2024-01-26 05:28 (UTC)

My issue resolved itself so I've bumped up the version.

patlefort commented on 2023-11-26 18:53 (UTC)

I'm having issues with version 1.14. It depends on java 20 but then they already upgraded to 21 right after. I'd rather not have to make a temporary java package for just this version. However, even using their latest commit and java 21, it won't work. I get the following error as a pop-up:

(MapToolEventQueue.java:68) [AWT-EventQueue-1] ERROR - java.lang.NoClassDefFoundError: jdk/swing/interop/SwingInterOpUtils
java.lang.NoClassDefFoundError: jdk/swing/interop/SwingInterOpUtils
        at com.sun.javafx.embed.swing.newimpl.JFXPanelInteropN.isUngrabEvent(JFXPanelInteropN.java:40) ~[javafx.swing.jar:?]
        at javafx.embed.swing.JFXPanel.lambda$new$6(JFXPanel.java:887) ~[javafx.swing.jar:?]
        at java.desktop/java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source) ~[?:?]
        at java.desktop/java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) ~[?:?]
        at java.desktop/java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) ~[?:?]
        at java.desktop/java.awt.Toolkit.notifyAWTEventListeners(Unknown Source) ~[?:?]
        at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) ~[?:?]
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:?]
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) ~[?:?]
        at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) ~[?:?]
        at java.desktop/java.awt.LightweightDispatcher.retargetMouseEnterExit(Unknown Source) ~[?:?]
        at java.desktop/java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown Source) ~[?:?]
        at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) ~[?:?]
        at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) ~[?:?]
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:?]
        at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) ~[?:?]
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) ~[?:?]
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:?]
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source) ~[?:?]
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source) ~[?:?]
        at java.base/java.security.AccessController.doPrivileged(Unknown Source) ~[?:?]
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:?]
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:?]
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source) ~[?:?]
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source) ~[?:?]
        at java.base/java.security.AccessController.doPrivileged(Unknown Source) ~[?:?]
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:?]
        at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:?]
        at net.rptools.maptool.client.swing.MapToolEventQueue.dispatchEvent(MapToolEventQueue.java:54) [MapTool.jar:SNAPSHOT-1768ead]
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:?]
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:?]
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:?]
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) [?:?]
Caused by: java.lang.ClassNotFoundException: jdk.swing.interop.SwingInterOpUtils

And it won't go away.

MarsSeed commented on 2023-10-15 16:20 (UTC)

java-openjfx is on version 21 but declares it needs makedepends 'java-environment-openjdk=17'. It is also broken.

It was dropped from extra repo to AUR by @freswa, and disowned.

Until the problems get resolved, it would be best to pin the JDK/JRE/JFX requirements of this package to v17, as upstream fully supports it.

patlefort commented on 2023-05-05 20:46 (UTC)

I resolved my issues by rebuilding everything (gradle7, jdk18-openjdk, jdk19-openjdk) in a clean chroot.

I've updated the dependencies but it is a bit of a pain to build now: You will need to build jdk18-openjdk, then jdk19-openjdk and finally maptool. I've also renamed the executable to MapTool to be consistent with maptool-bin.

patlefort commented on 2023-04-26 22:38 (UTC)

Update: I am also having issues running maptool. With java version 17 to 20, with last stable version of the last commit from their repo, all result in a segfault, tested on multiple machines. I gotta get to the bottom of this.