redhat-developer / redhat-developer/vscode-java
Error "exporting a package from system module is not allowed with --release"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
I started seeing this error in my workspace after upgrading to extension v1.11.0:

My java.jdt.ls.java.home set to 17, although my java.configuration.runtimes is set to 11.
I can build & run my app from terminal, so I wonder if this error is a false positive. If I downgrade to v1.10.0, that error doesn't show up. Does anyone know what in 1.11.0 is making this error? Or is there a vscode setting I'm supposed to use to fix that error?
Environment
- Operating System: MacOS Monterey
- JDK version: 17
- Visual Studio Code version: 1.72.1
- Java extension version: 1.11.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the 1.11.0 changelog and comparing the extension behavior between v1.10.0 and v1.11.0 with java.jdt.ls.java.home set to 17 and java.configuration.runtimes set to 11. Reproduce the reported error and determine whether it is a false positive or which setting or behavior needs correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100