Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to run Eclipse -clean on a Mac?

Tags:

java

eclipse

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?

like image 942
Jason S Avatar asked Jul 28 '11 01:07

Jason S


1 Answers

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

like image 87
Alvin Avatar answered Sep 22 '22 09:09

Alvin