k: Homebrew OpenJDK breaks `kserver`
The version of Java currently shipped by OpenJDK on Homebrew is 19, which causes a known issue with Nailgun:
- issue: https://youtrack.jetbrains.com/issue/SCL-20064
- workaround: https://openjdk.org/jeps/411#Issue-warnings
It’s possible to get a working kserver by explicitly passing JAVA_TOOL_OPTIONS='-Djava.security.manager=allow' at the command line, but we should look at fixing this somehow.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18 (18 by maintainers)
The
kservercurrently serves 3 purposes:From my understanding, GraalVM would help with the first one but not 2 and 3. The other thing I was worried about was having a new dependency. K already has so many things that it requires. We had to invent
kupbecause people found it very hard to install our tools.I personally would prefer graalvm because of the advantage of not having to start a server, but people had concerns about the cons I mentioned above when we considered it previously.
We’re essentially maintaining the code we use ourselves at this point, in our fork of nailgun. We can consider other options, but I think it’s fine to maintain it ourselves… It doesn’t require much maintenance overall.
That being said, graalvm is the way to go if we don’t want to use nailgun anymore.
Pros:
Cons: