-
Notifications
You must be signed in to change notification settings - Fork 775
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
Unable to build the opentelemetry-java project #2080
Comments
You need at least JDK 11 to build. 8 won't work. In your case it seems as if the build is also broken without the git repository which I don't think is expected. |
@ChandrewR Thanks for the report - interesting side effect of the nebula plugin that it is requiring a .git directory. For now, if you can clone from github and install Java 11 it should work ok, will look at fixing that. |
Hi @ChandrewR - building this repository requires Java 11 as listed here https://github.com/open-telemetry/opentelemetry-java/blob/master/CONTRIBUTING.md#requirements The actual built artifacts can be used with a Java 8 app. I'm trying to find Java 8 in README but can't - can you point me at it? If it's in the context of building this repository, it needs to be updated. |
Can individual artifacts like api, extensions etc be build with JAVA 8? It says JAVA 8 in README |
Thanks @ChandrewR - it's indeed confusing to have mention of Java 8 all over the place. I have removed them in #2124 and instead clarify that published artifacts require Java 8+, and building requires looking at CONTRIBUTING.md, in the top-level README. Hopefully this prevents confusion going forward. |
@ChandrewR can we close this? I believe that the documentation has been updated to be more accurate. |
No more action, closing since this is clear now (hopefully) |
I'm getting this error while building(executing gradlew.bat) - Could not find method release() for arguments [build_dfiyoporiz4savkbdijrduymk$_run_closure2@4f71c941] on root project 'opentelemetry-java' of type org.gradle.api.Project
Steps to reproduce
Download the java project and execute the gradlew.bat to reproduce the issue
What did you expect to see?
Build successful
What did you see instead?
Error
Environment
Compiler: JAVA 1.8.0_241
OS: Windows 10
The text was updated successfully, but these errors were encountered: