Eclipse:有没有办法让Eclipse输出运行程序的命令? [英] Eclipse: is there a way to get Eclipse to output the commands given to run your program?
本文介绍了Eclipse:有没有办法让Eclipse输出运行程序的命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
#> java MyClass
由于无法找到班级。这没有任何意义,所以我想知道是否有一种方法可以将日食输出输入到jvm中以使其建立/运行。
这可能吗?
谢谢
解决方案
可以得到Eclipse使用的确切命令像这样:
- 在Eclipse中运行你的程序
- 转到Debug透视图。 li>
- 终止程序,或让它结束。右键点击第二行。 (终止,退出值...)并选择属性。在那里你将有完整的命令行。
I'm having some build issues with Eclipse in that it runs my app just fine in eclipse but for some reason when trying to run using
#>java MyClass
it ends up not running due to not being able to find the class. This makes no sense so I was wondering if there was a way to have eclipse output what it's feeding into the jvm to get it to build/run.
Is this possible?
Thanks
解决方案
you can get the exact command used by Eclipse like this:
- Run your program inside Eclipse.
- Go to the Debug perspective.
- Terminate the program, or let it end. right click on the second line. (Terminated, exit value... ) and select properties. in there you will have the full command line used.
这篇关于Eclipse:有没有办法让Eclipse输出运行程序的命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文