Cannot install Jenkins on OS-X <Error: Could not access jarfile jenkins.war>

I am trying to install Jenkins on my mac, and I have completed the following steps:

  • Download the Jenkins war file for OS-X

  • After cd, Ran this:

    java -jar jenkins.war

  • getting this error in my terminal:

    Error: unable to access jarfile jenkins.war

Any idea what I am doing wrong ??? FYI, I was successful in windows by following these steps.

+7
source share
2 answers

This is how the problem was resolved. If you have mac or windows independently,

  • go to jenkins-ci.org
  • Choose a long-term version of support that is a stable build.
  • Click the .war link
  • Then in Terminal cd to the path where you downloaded
  • Run this command: java -jar jenkins.war

You will go well !!!

+2
source

Try running: java -jar jenkins.war.jar. This helped me on Windows 10.

0
source

All Articles