Skip to content
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

Can't compile due to jmxfetch wanting a very old version of sun tools. #194

Closed
omadawn opened this issue Oct 19, 2018 · 3 comments
Closed

Comments

@omadawn
Copy link

omadawn commented Oct 19, 2018

Cloned the repo, ran mvn clean compile assembly:single per the directions and I get the below error.

[ERROR] Failed to execute goal on project jmxfetch: Could not resolve dependencies for project com.datadoghq:jmxfetch:jar:0.22.0: Could not find artifact com.sun:tools:jar:1.4.2 at specified path /Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home/../lib/tools.jar -> [Help 1]
@omadawn
Copy link
Author

omadawn commented Oct 19, 2018

the tools.jar file simply does not exist as of java 9.
See the heading 'Removed rt.jar and tools.jar' here: https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-A868D0B9-026F-4D46-B979-901834343F9E

@albertvaka
Copy link
Contributor

Currently only building with JDK8 is supported, but we are looking into supporting newer JDK versions soon :) Note that this should only be a problem when building, not when running.

@scottopell
Copy link
Contributor

#437

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants