Problems Solved for Setting Up Jenkins

You must set the %JAVA_HOME% and Path environment variables for jenkins.

Otherwise you should get errors like:

    To do so follow this steps:

  • Create a %JAVA_HOME% var with path to the Java jdk/jre (without /bin)
  • Add %JAVA_HOME% to the Path var. Extend the string with \bin now.
  • Check the result by enter javac in the cmd. If something java like is printed out you are done.

Environment Variable Java
Environment Variable Path

You must run Jenkins explicitly as current user

The android emulator plugin wants to access you .android folder. But it looks for it in the wrong directory. To fix this you have to run Jenkins from the according user. Otherwise you should get errors like:

    To do so follow this steps:

  • Open the Server Window and search for “Jenkins”.
  • Open the properties of this service.
  • Enter in the cmd “echo %USERDOMAIN%\%USERNAME%” and copy the output into the Properties Window.
  • The String is maybe changed to .\Username
  • Restart the service. If you don’t receive an 1069 Error you are done.
  • Otherwise: The user account must have a password. If not: create a password for this user.


If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.

  1 comment for “Problems Solved for Setting Up Jenkins

  1. Agnel
    16th January 2020 at 00:28

    Thank you that was really helpful, it solved a problem I had with maven.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Spelling error report

The following text will be sent to our editors: