Issue
I have already found many answers and also tried, unfortunately none worked for me. I am trying to install Visual Studio Code on Ubuntu 20.04. And so far it always went very smoothly. Unfortunately this time not. My approach was:
- I installed vscode
- i installed java
- i added it to the home(echo $JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64) and the Path(echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-11-openjdk-amd64/bin) variables
When it didn't work, I put it in ~/.config/Code/User/settings.json (A different path than in $JAVA_HOME Because I tried something but that didn't work either) After all these operations vscode still didn't regest it.
My question is, why not, did I forget something?
Solution
I don't know why but it suddenly works. I installed Java one more time and now it works. Maybe something went wrong with the first java installation.
But thanks to all who took the time.
Answered By - BVeiw
Answer Checked By - Cary Denson (JavaFixing Admin)