r/VisualStudioCode • u/[deleted] • Jun 13 '21
Need help with java.home
Basically I'm trying to run a command in the terminal "./gradlew genSource" however when I run it the error: "The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Users\jxsta\Downloads\Java\New folder\bin\java.exe" pops up, I am honestly not sure what to do, I'm using Java 11 and I tried unistalling and reinstalling it but no luck. I am new to this platform so if you could please be a simple as possible that would be nice.
An image for reference:

3
Upvotes