Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode can't detect JDK !! #697

Closed
YousefSaber opened this issue Oct 30, 2018 · 6 comments
Closed

VSCode can't detect JDK !! #697

YousefSaber opened this issue Oct 30, 2018 · 6 comments

Comments

@YousefSaber
Copy link

although that JDK is installed on my OS VSCode or your extension can't detect it!!

image

image

  • Operating System: elementary OS v5.0 juno
  • JDK version: 1.8.0_181
  • Visual Studio Code version: v1.28.2
  • Java extension version: v0.33.0
@fbricon
Copy link
Collaborator

fbricon commented Oct 30, 2018

have you tried setting "java.home" in VS Code's settings.json?

@YousefSaber
Copy link
Author

YousefSaber commented Oct 30, 2018

@fbricon nothing works it tells there is a missing folder ??

image
image
image

@snjeza
Copy link
Contributor

snjeza commented Oct 30, 2018

You can try the following:

"java.home": "/usr/lib/jvm/java-1.8.0-openjdk-amd64/",

@fbricon
Copy link
Collaborator

fbricon commented Oct 31, 2018

How did you install vscode? via flatpack?
In any case, try to point to a JDK in another directory

@YousefSaber
Copy link
Author

@snjeza @fbricon it's over nothing works I'm tired of trying I'll only use VSCode on Ubuntu since it has the largest community and I'll post issues only from there

@juliosilvacwb
Copy link

How did you install vscode? via flatpack?
In any case, try to point to a JDK in another directory

You save me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants