The message refers to a Java runtime environment path (jre1.8.0_241).  The
Java 8 runtime environment does not include the necessary tools for
development.  You need the Java Development Kit (JDK).

See https://stackoverflow.com/questions/5730815/unable-to-locate-tools-jar for
more information.

On Sat, Mar 21, 2020 at 7:57 AM Alex Reds <ralessandro...@gmail.com> wrote:

> Hi everyone,
>
> I would like to contribute to the Jenkins open-source project but I got
> stucked quite early.
>
> When I try to build the project, I get this error:
>
>  [ERROR] Failed to execute goal
> com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2:spotbugs (spotbugs) on
> project jenkins-parent: Execution spotbugs
> of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2:spotbugs
> failed: Plugin com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2 or one of
> it
> s dependencies could not be resolved: Could not find artifact
> com.sun:tools:jar:1.8.0 at specified path C:\Program
> Files\Java\jre1.8.0_241/../lib/t
> ools.jar
>
> Can you please help me?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/1ab2cef5-6adc-4a3f-ae2b-c0cbc5bde0f5%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/1ab2cef5-6adc-4a3f-ae2b-c0cbc5bde0f5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEF16sStX8jZ10tLA_FT9KTgv5Mf8CGjf7G5SqfL5KF0Q%40mail.gmail.com.

Reply via email to