Replies: 8 comments 9 replies
-
We think that the problem stems from a dependency to which we no longer have access, which may have been public at the outset and has now been made private |
Beta Was this translation helpful? Give feedback.
-
This is not the case. |
Beta Was this translation helpful? Give feedback.
-
Have you been able to resolve this? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately not, we have the right JDK but we don't know if gradle can retrieve the right JDK, we've also tried adding dependencies and plugins as you advised but nothing works |
Beta Was this translation helpful? Give feedback.
-
Is there a reason you are preferring VSCode over a full Java IDE such as IntelliJ or Eclipse? |
Beta Was this translation helpful? Give feedback.
-
I was able to successfully upgrade my project to Java 21 and I use VSCode. I'd be willing to try to help here, but I need more information about how you're running your program. Are you just pressing F5 and letting VS handle the launch? Or are you using a makefile or something? It'd be helpful to see the entire console output when the program is launched (inluding the command used for the launch if VS is driving it). That said, VSCode with Java is a frustrating headache. I deal with it, I guess, because I'm stubborn. But if you want to save yourself a headache, you should look into Eclipse or IntelliJ like @nightm4re94 suggested. |
Beta Was this translation helpful? Give feedback.
-
Hi @Hades948, Sorry for the late reply, here's our problem. When we launch the project using the F5 key or by pressing the "RUN" button, we get an error telling us "BUILD FAILED" and this only applies since we updated our java to version 21. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry, but I am not able to reproduce your problem :/ |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When you run the project that you haven't been able to run for 3 weeks (since you updated the project)
Stack Trace
The error message you get either in your console or the
crash.txt
located in your program's root directory.Program.java is a non-project file, only syntax errors are reported
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I want to be able to launch the project.
Screenshots
Your System:
Additional context
I've updated my java to version 21 but it still doesn't work, but it works again when you go back to an earlier version of the project
Beta Was this translation helpful? Give feedback.
All reactions