You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Java language support requires Java 8 (using C:\ProgramData\Oracle\Java\javapath\java.exe) #441
[provide a description of the issue]
Dear community im getting this error messages. How can I solve this?
The java.home variable defined in VS Code settings points to a missing folder
Java language support requires Java 8 (using C:\ProgramData\Oracle\Java\javapath\java.exe)
Thank you in advance.
Environment
Operating System: win 10
JDK version:
Visual Studio Code version:
Java extension version:
Steps To Reproduce
[step 1]
[step 2]
[attach a sample project reproducing the error] attach logs
@snjeza@fbricon I installed the software on my other pc with windows 7 its working like charm there so lets hope its stays that way. Well I tried your code and its not working @snjeza. Thank you @fbricon and @snjeza.
@snjeza I tried your code with different pathname since my computer has 32-bit OS and 64-bit and the message does not appear anymore. So I guess its working thank you!
Activity
fbricon commentedon Feb 14, 2018
Seems like a duplicate of #431 (comment). Make sure you uninstall georgewfraser.vscode-javac
cryptojonnyboy commentedon Feb 14, 2018
@fbricon Thank you for you help. The first one got solved . The second one is a little harder for me to solve.
The java.home variable defined in VS Code settings points to a missing folder
fbricon commentedon Feb 14, 2018
make sure java.home points to the java home folder, not java.exe
cryptojonnyboy commentedon Feb 14, 2018
@fbricon Copy pasted this. I still cant star writing codes :(

C:/Program Files/Java/jdk1.8.0_131
fbricon commentedon Feb 14, 2018
can you try with backslashes?
C:\Program Files\Java\jdk1.8.0_131or
C:\Progra~1\Java\jdk1.8.0_131cryptojonnyboy commentedon Feb 14, 2018
@fbricon I tried both of them it is quite presistent. Anymore things I can try?
snjeza commentedon Feb 14, 2018
Could you try
cryptojonnyboy commentedon Feb 15, 2018
@snjeza @fbricon I installed the software on my other pc with windows 7 its working like charm there so lets hope its stays that way. Well I tried your code and its not working @snjeza. Thank you @fbricon and @snjeza.
cryptojonnyboy commentedon Feb 15, 2018
@snjeza I tried your code with different pathname since my computer has 32-bit OS and 64-bit and the message does not appear anymore. So I guess its working thank you!
"java.home": "C:\Program Files\Java\jdk1.8.0_131"
fbricon commentedon Feb 15, 2018
@cryptojonnyboy so you made it work on your win10 machine with "C:\Program Files\Java\jdk1.8.0_131"? or were you referring to your win7 pc?
cryptojonnyboy commentedon Feb 15, 2018
@fbricon Hello, its working on my windows 10 machine with this code "java.home": "C:\\Program Files\\Java\\jdk1.8.0_131"
fbricon commentedon Feb 15, 2018
Ok, I've made the description more helpful, hopefully:
cryptojonnyboy commentedon Feb 15, 2018
Haha thank you nice!! @fbricon