-
Notifications
You must be signed in to change notification settings - Fork 415
Failed to compile v1.43.0 version using jdk17 on Windows system #3427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I want to know how to solve compilation failures. Here is my local environment information: Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937) |
MVN always compiles from https://ci.eclipse.org/ls/job/jdt-core-incubator/job/dom-with-javac/lastSuccessfulBuild/artifact/repository/target/repository/plugins/ Download dependency, the latest org. eclipse. jdt. core. javac_1.0.0. z20250328-1732.jar requires JavaSE-24, so compiling with the v1.43.0 tag source code has been failing |
I would try using JDK 23 to compile. It's basically what the builds currently use and you need at least a Java 21 runtime to launch the server. I do have a JDK 24 on my system so maybe that's enough to silence the |
Okay, thank you for your help. If I want to compile and start services using the JDK 17 environment, which tag code is more suitable? I can only rely on the README document in the Git repository to choose which tag's code. |
Ah right, I see the issue. You're basically trying to rebuild the ALl you need to do is follow the instructions from #3001 (comment) . Just replace the URL being added with https://download.eclipse.org/jdtls/milestones/1.43.0/repository/ . This should get the project bulding and you may need to modify the product module a bit since it looks like the |
Okay, I'll give it a try. Thank you |
The text was updated successfully, but these errors were encountered: