Package Details: ki-shell-bin 0.5.2-1

Git Clone URL: https://aur.archlinux.org/ki-shell-bin.git (read-only, click to copy)
Package Base: ki-shell-bin
Description: Kotlin Language Interactive Shell
Upstream URL: https://github.com/Kotlin/kotlin-interactive-shell
Licenses: Apache
Conflicts: ki-shell
Provides: ki-shell
Submitter: Maxr1998
Maintainer: Maxr1998
Last Packager: Maxr1998
Votes: 3
Popularity: 0.24
First Submitted: 2021-04-02 13:24 (UTC)
Last Updated: 2023-08-12 10:51 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Maxr1998 commented on 2021-07-20 21:17 (UTC)

Thanks for the heads-up, fixed it. Using the bundled launch script now, just have to patch it to use the correct paths.

utybo commented on 2021-07-20 08:18 (UTC)

This package does not work with Java 16. As specified in (1), an --add-opens argument is required in the command line. This was added in the upstream launch script in (2), but this package seems to use a custom script that just launches a java -jar command without additional arguments (see the PKGBUILD file or run cat /bin/ki in your favorite terminal).

I believe using the upstream launch script may be a good solution here, as they have proper workarounds for this that only add the flag on Java versions where that would be necessary, i.e. on Java > 8 (3). This does need to be tested though, as it may not necessarily fix the issue.

  1. https://github.com/Kotlin/kotlin-interactive-shell/issues/65
  2. https://github.com/Kotlin/kotlin-interactive-shell/pull/72
  3. https://github.com/Kotlin/kotlin-interactive-shell/blob/0cc592d7ef4b7d7d6ad700a03470e5c87bb62c1d/bin/ki.sh#L20