how to run Eclipse -clean on a Mac?

前端 未结 5 556
温柔的废话
温柔的废话 2021-01-30 10:35

I can run eclipse -clean on my PC, but on my Mac, the executable is Eclipse.app -- how do you run that with arguments on the command-line?

5条回答
  •  忘了有多久
    2021-01-30 11:08

    If you CD to the eclipse installation directory using terminal, then you will see there is a directory called eclipse.app. CD to Eclipse.app\Contents\MacOS under that directory there should be an executable called eclipse.

    I believe you can launch eclipse from the commandline by executing the eclipse executable with the -clean argument, as below:

    ./eclipse -clean

提交回复
热议问题