Package Details: modrinth-app 0.10.26-1

Git Clone URL: https://aur.archlinux.org/modrinth-app.git (read-only, click to copy)
Package Base: modrinth-app
Description: An unique, open source launcher that allows you to play your favorite mods, and keep them up to date, all in one neat little package.
Upstream URL: https://modrinth.com/app
Licenses: GPL-3.0-only
Submitter: Antti
Maintainer: Antti
Last Packager: Antti
Votes: 10
Popularity: 2.03
First Submitted: 2023-08-06 14:35 (UTC)
Last Updated: 2026-01-15 21:52 (UTC)

Dependencies (19)

Required by (0)

Sources (4)

Latest Comments

1 2 Next › Last »

Jao commented on 2025-12-27 17:39 (UTC)

sudo archlinux-java set java-17-openjdk worked for me. I had the same issue as @merlinity, except with it trying to use Java 8.

Antti commented on 2025-11-21 15:06 (UTC)

@merlinity Your system java default is 11. Run archlinux-java set java-17-openjdk or something. I honestly have no idea how one is supposed to properly do this in a PKGBUILD. I don't think calling archlinux-java in the PKGBUILD is the correct solution and I can't really hardcode anything in the PATH as there is no certainty which java distribution is used. I guess I could depend directly on jdk17-openjdk and do like export PATH="/usr/lib/jvm/java-17-openjdk/bin/:$PATH" but that doesn't seem correct either.

merlinity commented on 2025-11-21 14:55 (UTC) (edited on 2025-11-21 14:58 (UTC) by merlinity)

When I'm trying to install this package, I'm still getting an error.

Seems to be the same error dbb got:

  FAILURE: Build failed with an exception.

  * What went wrong:
  Gradle requires JVM 17 or later to run. Your build is currently configured to use JVM 11.

Is this a me problem or anyone else getting this too?

Here's the full error log:

error: theseus@0.10.20: Gradle build failed with exit status: 1
error: failed to run custom build command for `theseus v0.10.20 (/home/merlinity/.cache/yay/modrinth-app/src/code-0.10.20/packages/app-lib)`

Caused by:
  process didn't exit successfully: `/home/merlinity/.cache/yay/modrinth-app/src/code-0.10.20/apps/app/target/release/build/theseus-09e6411ab4faacdb/build-script-build` (exit status: 1)
  --- stdout
  cargo::rerun-if-changed=.env
  cargo::rerun-if-changed=java/gradle
  cargo::rerun-if-changed=java/src
  cargo::rerun-if-changed=java/build.gradle.kts
  cargo::rerun-if-changed=java/settings.gradle.kts
  cargo::rerun-if-changed=java/gradle.properties
  cargo::rustc-env=MODRINTH_URL=https://modrinth.com/
  cargo::rustc-env=MODRINTH_API_URL=https://api.modrinth.com/v2/
  cargo::rustc-env=MODRINTH_API_URL_V3=https://api.modrinth.com/v3/
  cargo::rustc-env=MODRINTH_SOCKET_URL=wss://api.modrinth.com/
  cargo::rustc-env=MODRINTH_LAUNCHER_META_URL=https://launcher-meta.modrinth.com/
  cargo::rustc-env=JAVA_JARS_DIR=/home/merlinity/.cache/yay/modrinth-app/src/code-0.10.20/apps/app/target/release/build/theseus-1eb6816d7bea45c5/out/java/libs
  Downloading https://services.gradle.org/distributions/gradle-9.1.0-bin.zip
  ............10%.............20%.............30%.............40%.............50%............60%.............70%.............80%.............90%.............100%

  Welcome to Gradle 9.1.0!

  Here are the highlights of this release:
   - Full Java 25 support
   - Native task graph visualization
   - Enhanced console output

  For more details see https://docs.gradle.org/9.1.0/release-notes.html

  To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
  cargo::error=Gradle build failed with exit status: 1

  --- stderr

  FAILURE: Build failed with an exception.

  * What went wrong:
  Gradle requires JVM 17 or later to run. Your build is currently configured to use JVM 11.

  * 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 generate a Build Scan (Powered by Develocity).
  > Get more help at https://help.gradle.org.
warning: build failed, waiting for other jobs to finish...
failed to build app: failed to build app
       Error failed to build app: failed to build app
/home/merlinity/.cache/yay/modrinth-app/src/code-0.10.20/apps/app:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @modrinth/app@ tauri: `tauri "build" "--config" "tauri-release.conf.json" "--no-bundle"`
Exit status 1

Antti commented on 2025-10-20 12:34 (UTC)

Of course they did that. Fixed.

dbb commented on 2025-10-20 12:06 (UTC)

Looks like they upgraded the Gradle 9.1.0 which requires at least Java 17 and supports Java 25. Changing to java-environment>=17 fixes build in clean chroot for me.

Relevant snippets from build error:

Welcome to Gradle 9.1.0!

  Here are the highlights of this release:
   - Full Java 25 support
FAILURE: Build failed with an exception.

  * What went wrong:
  Gradle requires JVM 17 or later to run. Your build is currently configured to use JVM 11.

Full error:

error: failed to run custom build command for `theseus v0.10.13 (/build/modrinth-app/src/code-0.10.13/packages/app-lib)`

Caused by:
  process didn't exit successfully: `/build/modrinth-app/src/code-0.10.13/apps/app/target/release/build/theseus-97e18c888f02a0ce/build-script-build` (exit status: 1)
  --- stdout
  cargo::rerun-if-changed=.env
  cargo::rerun-if-changed=java/gradle
  cargo::rerun-if-changed=java/src
  cargo::rerun-if-changed=java/build.gradle.kts
  cargo::rerun-if-changed=java/settings.gradle.kts
  cargo::rerun-if-changed=java/gradle.properties
  cargo::rustc-env=MODRINTH_URL=https://modrinth.com/
  cargo::rustc-env=MODRINTH_API_URL=https://api.modrinth.com/v2/
  cargo::rustc-env=MODRINTH_API_URL_V3=https://api.modrinth.com/v3/
  cargo::rustc-env=MODRINTH_SOCKET_URL=wss://api.modrinth.com/
  cargo::rustc-env=MODRINTH_LAUNCHER_META_URL=https://launcher-meta.modrinth.com/
  cargo::rustc-env=JAVA_JARS_DIR=/build/modrinth-app/src/code-0.10.13/apps/app/target/release/build/theseus-0f641a3b4a34c629/out/java/libs
  Downloading https://services.gradle.org/distributions/gradle-9.1.0-bin.zip
  ............10%.............20%.............30%.............40%.............50%............60%.............70%.............80%.............90%.............100%

  Welcome to Gradle 9.1.0!

  Here are the highlights of this release:
   - Full Java 25 support
   - Native task graph visualization
   - Enhanced console output

  For more details see https://docs.gradle.org/9.1.0/release-notes.html

  To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/gradle_da
emon.html#sec:disabling_the_daemon in the Gradle documentation.


  > Starting Daemoncargo::error=Gradle build failed with exit status: 1

  --- stderr

  FAILURE: Build failed with an exception.

  * What went wrong:
  Gradle requires JVM 17 or later to run. Your build is currently configured to use JVM 11.
* 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 generate a Build Scan (Powered by Develocity).
  > Get more help at https://help.gradle.org.
warning: build failed, waiting for other jobs to finish...
failed to build app: failed to build app
       Error failed to build app: failed to build app
/build/modrinth-app/src/code-0.10.13/apps/app:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @modrinth/app@ tauri: `tauri "build" "--config" "tauri-release.conf.json" "--no-bundle"`
Exit status 1

seo.disparate commented on 2025-10-10 05:57 (UTC)

Fails to build for me unless if java-environment>=11 is changed to java-environment=11 in the make-depends. Otherwise it tries to use the latest jdk-openjdk package which is Java version 25, which causes a build error. Maybe a higher version lower than 25 can be used, but I haven't tested it further.

Insprill commented on 2025-08-03 19:47 (UTC)

Playing embedded YouTube videos in content description pages immediately crashes the application if the gst-plugins-good package isn't installed. It should be added to the dependencies list.

Example mod with a video on the page: https://modrinth.com/mod/lambdynamiclights

Relevant Tauri issue: https://github.com/tauri-apps/tauri/issues/4642#issuecomment-1643229562

dbb commented on 2025-07-06 11:40 (UTC) (edited on 2025-07-06 11:40 (UTC) by dbb)

Fails to build in a clean chroot with:

error: theseus@0.10.1: Gradle build failed with exit status: 1
error: failed to run custom build command for `theseus v0.10.1 (/build/modrinth-app/src/code-0.10.1/packages/app-lib)`

Caused by:
  process didn't exit successfully: `/build/modrinth-app/src/code-0.10.1/apps/app/target/release/build/theseus-e9691587ea5ed63c/build-script-build` (exit status: 1)
  --- stdout
  cargo::rerun-if-changed=java/gradle
  cargo::rerun-if-changed=java/src
  cargo::rerun-if-changed=java/build.gradle.kts
  cargo::rerun-if-changed=java/settings.gradle.kts
  cargo::rerun-if-changed=java/gradle.properties
  cargo::rustc-env=JAVA_JARS_DIR=/build/modrinth-app/src/code-0.10.1/apps/app/target/release/build/theseus-8997eb452b67ff16/out/java/libs
  cargo::error=Gradle build failed with exit status: 1

  --- stderr

  ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

  Please set the JAVA_HOME variable in your environment to match the
  location of your Java installation.

warning: build failed, waiting for other jobs to finish...

Adding java-environment to makedepends gets it to successfully build, but not sure if that is ideal or appropriate solution.

seanfire99 commented on 2024-07-21 22:47 (UTC)

The open instance folder button does not work can does anyone know why?

Antti commented on 2024-07-06 21:42 (UTC)

@goldy you just need to do a cleanbuild