Protractor + Java issues. (AngularJS)

前端 未结 1 1723
名媛妹妹
名媛妹妹 2021-02-10 01:15

I wanted to install protractor in order to work with our AngularJS project. Everything went OK till I ran the command:

webdriver-manager start

1条回答
  •  孤城傲影
    2021-02-10 02:09

    You are using a mac and the default version of Java on mac osx is still Java 6 (Apple stopped producing their own version of Java a number of years ago). So, you need to manually install a more recent version of Java from Oracle to get the latest version.

    Download the latest version of Java here. Then, run the downloaded dmg file and follow the instructions to complete the installation.

    After installing Java 8, simply re-run webdriver-manager start and you should be good to go.

    0 讨论(0)
提交回复
热议问题