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 ‘https://services.gradle.org/distributions/gradle-7.3.3-bin.zip’ does not appear to contain a Gradle distribution.
at org.gradle.wrapper.Install$1.call(Install.java:95)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:63)

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

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.