1.>如何执行java -Xmx512m -jar a.jar yourfile.txt。来自 eclipse @junit
最佳答案
您需要使用java -jar
命令运行它。为了做到这一点:
转到运行
> 外部工具
> 外部工具配置
Create new item under "Program"
填写以下内容。
Location: <JAVA_HOME>/bin/java
Working directory: The working directory for your jar program (might be it's location)
Arguments: -Xmx512m -jar a.jar yourfile.txt.
关于java - 如何执行 java -Xmx512m -jar a.jar yourfile.txt。来自 eclipse 的命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11666355/