Package Details: prismlauncher-git 6.0.r238.gdeed4957-4

Git Clone URL: https://aur.archlinux.org/prismlauncher-git.git (read-only, click to copy)
Package Base: prismlauncher-git
Description: Minecraft launcher with ability to manage multiple instances.
Upstream URL: https://prismlauncher.org
Licenses: GPL3
Conflicts: prismlauncher
Provides: prismlauncher
Submitter: Scrumplex
Maintainer: Scrumplex (txtsd, g3tchoo)
Last Packager: g3tchoo
Votes: 19
Popularity: 1.58
First Submitted: 2022-10-18 06:43 (UTC)
Last Updated: 2023-11-06 16:09 (UTC)

Dependencies (23)

Required by (2)

Sources (2)

Pinned Comments

txtsd commented on 2023-10-27 15:54 (UTC) (edited on 2023-10-27 17:40 (UTC) by txtsd)

Not everyone uses or prefers openjdk, so this package depends on java-environment=17 instead.

jdk21 deprecates some jdk7 stuff which is required to make some older versions of minecraft to work, which is why prismlauncher currently requires jdk17.

While this promotes user choice, it also requires that users' systems have their default java environment set to any jdk17 via archlinux-java set $jdk_ver. Use archlinux-java status to see which java environments are installed, and change accordingly. Alternatively, just set the JAVA_HOME env var when installing like this:

JAVA_HOME=/usr/lib/jvm/java-17-whicheverjdk yay prismlauncher

Latest Comments

txtsd commented on 2023-10-27 15:54 (UTC) (edited on 2023-10-27 17:40 (UTC) by txtsd)

Not everyone uses or prefers openjdk, so this package depends on java-environment=17 instead.

jdk21 deprecates some jdk7 stuff which is required to make some older versions of minecraft to work, which is why prismlauncher currently requires jdk17.

While this promotes user choice, it also requires that users' systems have their default java environment set to any jdk17 via archlinux-java set $jdk_ver. Use archlinux-java status to see which java environments are installed, and change accordingly. Alternatively, just set the JAVA_HOME env var when installing like this:

JAVA_HOME=/usr/lib/jvm/java-17-whicheverjdk yay prismlauncher

nyanbinary commented on 2023-07-15 21:56 (UTC)

You can run PrismLauncher with any JRE Runtime it's just that you can't build with any JRE Runtime, so can you make the JDK version requirement softer and add a makedep with the harder JDK ver requirement?

KagoKajino commented on 2023-05-18 17:46 (UTC)

I was able to solve the CMAKE error by reinstalling my openjdk installs with pacman.

ChrisLane commented on 2023-04-20 10:39 (UTC)

Could you please add a harder JDK version build requirement on this?

The build fails with JDK 20 as the default JDK as described in https://github.com/PrismLauncher/PrismLauncher/pull/1013

XkE5NBr2 commented on 2023-02-26 22:46 (UTC)

Same issue as @nic-hartley . Same solution as nic-hartley. prismlauncher-bin works smooth as butter.

pacman -Q | grep jdk yields this output:

jdk-openjdk 19.0.2.u7-2
jre-openjdk 19.0.2.u7-2
jre-openjdk-headless 19.0.2.u7-2
jre17-openjdk 17.0.6.u10-2
jre17-openjdk-headless 17.0.6.u10-2
jre8-openjdk 8.362.u09-1
jre8-openjdk-headless 8.362.u09-1

And ls -l /usr/lib/jvm/ yields this:

lrwxrwxrwx 1 root root   18 Jan 29 15:35 default -> java-8-openjdk/jre
lrwxrwxrwx 1 root root   18 Jan 29 15:35 default-runtime -> java-8-openjdk/jre
 drwxr-xr-x 4 root root 4096 Jan 29 15:35 java-17-openjdk
 drwxr-xr-x 7 root root 4096 Jan 29 15:35 java-19-openjdk
 drwxr-xr-x 3 root root 4096 Jan 29 15:35 java-8-openjdk

Good luck!

txtsd commented on 2023-01-30 00:31 (UTC)

@nic-hartley What jdk do you have installed?

nic-hartley commented on 2023-01-29 16:08 (UTC)

This doesn't seem to be working:

CMake Error at libraries/launcher/CMakeLists.txt:2 (project):
  No CMAKE_Java_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "JAVA_COMPILER" or the CMake cache entry CMAKE_Java_COMPILER to
  the full path to the compiler, or to the compiler name if it is in the
  PATH.

prismlauncher-bin works just fine, though, so I didn't bother investigating further.

Renner03 commented on 2022-10-19 17:01 (UTC)

Can you please make qt6-wayland an optional dependency? Full PKGBUILD: https://0x0.st/owlO.txt