Microsoft VS, I can't figure out how to change my javaHome folder

I’ve searched for a solution to this, but I can’t find any for VS. I keep on getting the error “Supplied javaHome is not a valid folder. You supplied: C:\Program Files\Java\jre1.8.0_321”. I’m trying to switch the directory from my jre folder to my jdk folder, which is “C:\Program Files\Java\jdk-”. I’m new to coding and really confused. Any tips?

Totally not the answer, as I would never use VS for Java work, just a personal recommendation.
Use a proper Java IDE instead, especially IntelliJ IDEA. That will save you a lot of headaches. :slight_smile: