Package Details: kotlin-language-server-git r1444.80fc538-1

Git Clone URL: (read-only, click to copy)
Package Base: kotlin-language-server-git
Description: Smart code completion, diagnostics and more for Kotlin using the Language Server Protocol
Upstream URL:
Keywords: java jvm kotlin language server
Licenses: MIT
Conflicts: kotlin-language-server
Provides: kotlin-language-server
Submitter: GrimKriegor
Maintainer: aravance
Last Packager: GrimKriegor
Votes: 3
Popularity: 0.079381
First Submitted: 2019-06-14 17:46 (UTC)
Last Updated: 2023-11-15 22:29 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

ingvij commented on 2023-01-25 11:35 (UTC)

This package seems to constantly bump into JDK version issues. I'm having an issue w/ unsupported java version because it finds jdk 19 that is installed in my system and that is currently unsupported by the gradle version this project uses. I assume the correct way would be to require the user to set a compatible jdk version using archlinux-java and read that from /usr/lib/jvm/default with readlink -f: export JAVA_HOME=$(readlink -f /usr/lib/jvm/default)

chasecaleb commented on 2021-10-17 20:18 (UTC)

This is broken again since Arch repos no longer contain a jdk16 (jdk-openjdk is now Java 17). This keeps happening because this PKGBUILD has depends=('java-runtime>=14') but hardcodes export JAVA_HOME="/usr/lib/jvm/java-16-openjdk". You need to either specify a specific java version in depends (which I would recommend against) or fix the mismatched JAVA_HOME export.

How about either removing the JAVA_HOME export, parsing the output of archlinux-java to determine the latest installed JDK, or something along those lines? Removing the JAVA_HOME export is the easiest and will work fine majority of users, although it's not necessarily perfect. It won't work for anyone who changes their default java to something old via archlinux-java set or exporting JAVA_HOME, but anyone who shoots themselves in the foot like that can likely sort it out on their own, since users of this package are likely all Java/Kotlin devs.

Valeriooooh commented on 2021-08-10 14:37 (UTC)

JAVA_HOME is outdated jdk15 is no longer in the arch/aur repos

cwrau commented on 2019-12-18 13:21 (UTC)

Build fails, when default java version is 13+

The JAVA_HOME should be exported as java 11 and the makedepends java-runtime=11

GrimKriegor commented on 2019-08-05 19:00 (UTC)

package.json, the source of the version string, has been removed from the repository.

As such we must revert back to a revision.hash version format.

Updating from 0.1.13.r458.125b3fd to r576.e6f7637 will have to be done manually.