redhat-developer / redhat-developer/vscode-java

GraalVM not supported when the JDK is installed from Nix

Open
#4,142 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

configuration
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

I use Nix to manage my JDKs. Whenever I use Temurin, Zulu, or OpenJDK, the "Language Support for Java(TM) by Red Hat" extension can correctly use the Java version installed in a specific Nix development environment.

However, when I use GraalVM CE, the extension throws an error like the following:

Image

I have created a repo with a minimal setup and detailed instructions to reproduce the error (issue number 1 in the README).

https://github.com/ThomasVitale/vscode-java-nix-issue

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the minimal reproduction repository linked in the issue and follow issue 1 in its README to reproduce the failure with GraalVM CE in a Nix development environment. Trace how the extension detects the JDK, then verify that GraalVM is recognized in the same setup as Temurin, Zulu, and OpenJDK.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.