Help running 2022 WPILib VS Code

Hi, I was trying to run WPILib, but I encountered this error:
Exception in thread “main” java.lang.RuntimeException: Gradle distribution ‘’ does not appear to contain a Gradle distribution.
at org.gradle.wrapper.Install$
at org.gradle.wrapper.Install$
at org.gradle.wrapper.ExclusiveFileAccessManager.access(
at org.gradle.wrapper.Install.createDist(
at org.gradle.wrapper.WrapperExecutor.execute(
at org.gradle.wrapper.GradleWrapperMain.main(

Is there a proxy or something blocking internet access?

No, there is no proxy and nothing blocking internet access

Make sure you’re connected to the internet, NOT your robot, before your first build.

Can you explain exactly what you mean when you say you were trying to run WPILib? I assumed the installer, others assumed a build of a robot project. What was the last thing you did when the error appeared?

Can you download that in a web browser? Although if you’ve installed WPILib properly there shouldn’t be a need to download gradle.

Do you still have mcafee installed?

When I start WPILib, it automatically starts building sample code, which is when I get the error. The last thing I did when the error appeared was open “2022 WPILib VS Code” as administrator. I can download gradle in a web browser, and I don’t have mcafee installed