Cannot even run basic Java (with Gradle) autogenerated project.
Environment
- Operating System: Windows 10
- JDK version: OpenJDK
java version "17.0.2" 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)
- Visual Studio Code version:
1.66.0
- Java extension version:
v0.22.2
Steps To Reproduce
- Install
Extension Pack for Java.
- Click
Create Java Project.
- Select Gradle (will ask to install
Gradle for Java).
- Select project location.
- Wait for initialization to finish.
- Try to run autogenerated basic project.
Current Result
Cannot use Java with Gradle in VS Code.

Logs: https://gist.github.com/AgainPsychoX/c78f9c43df3f65f339e4c89aa48098ea
Terminal:
PS C:\Users\PsychoX\Desktop\Środa\Grafika\Renderer> c:; cd 'c:\Users\PsychoX\Desktop\Środa\Grafika\Renderer'; & 'C:\Users\PsychoX\.vscode\extensions\redhat.java-1.4.0-win32-x64\jre\17.0.2-win32-x86_64\bin\java.exe' '-agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:1165' '-XX:+ShowCodeDetailsInExceptionMessages' '@C:\Users\PsychoX\AppData\Local\Temp\cp_a5r05w7gbm9zfjlzvure95lfx.argfile' 'Renderer.App'
Error: Could not find or load main class Renderer.App
Caused by: java.lang.ClassNotFoundException: Renderer.App
Expected Result
I hate Java, so ngl "not working" is expected result for me. Some could argue, it should "just" work - but not in Java world.
Cannot even run basic Java (with Gradle) autogenerated project.
Environment
1.66.0v0.22.2Steps To Reproduce
Extension Pack for Java.Create Java Project.Gradle for Java).Current Result
Cannot use Java with Gradle in VS Code.
Logs: https://gist.github.com/AgainPsychoX/c78f9c43df3f65f339e4c89aa48098ea
Terminal:
Expected Result
I hate Java, so ngl "not working" is expected result for me. Some could argue, it should "just" work - but not in Java world.