redhat-developer / redhat-developer/vscode-java
JDK missing or inaccessible folder in Ubuntu 18
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
[provide a description of the issue]
The java.home variable defined in VS Code settings points to a missing or inaccessible folder (usr/lib/jvm/java-8-openjdk-amd64)
Environment
- Operating System: Ubuntu 18
- JDK version: java-8-openjdk-amd64
- Visual Studio Code version: 1.37.1
- Java extension version: 0.7.1
Steps To Reproduce
- [step 1] Just open a java file and show this error.
The java.home variable defined in VS Code settings points to a missing or inaccessible folder (usr/lib/jvm/java-8-openjdk-amd64)
Current Result
showing Java file text in red color.
Expected Result
I just want to open a java file in a normal java file way.
Additional Informations
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 checking the java.home setting against the reported Ubuntu JDK path, including whether the folder exists and is accessible. Reproduce by opening a Java file with the listed VS Code and Java extension versions. Done means the extension no longer reports the missing or inaccessible folder and Java files open normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- devtools, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 24/100