如何在Mac上运行Eclipse -clean? [英] how to run Eclipse -clean on a Mac?

查看:916
本文介绍了如何在Mac上运行Eclipse -clean?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在我的电脑上运行 eclipse -clean ,但是在我的Mac上,可执行文件是Eclipse.app - 如何使用命令行中的参数运行, line?

解决方案

如果您使用终端将CD光盘安装到eclipse安装目录,那么您将看到有一个名为 eclipse.app 。 CD到 Eclipse.app\Contents\MacOS 在该目录下应该有一个名为 eclipse 的可执行文件。



我相信您可以通过执行 eclipse 可执行文件,从命令行启动eclipse, -clean 参数如下:


./ eclipse -clean



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?

解决方案

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

这篇关于如何在Mac上运行Eclipse -clean?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆