[英]Running jar file in cmd in Windows gives error
I have downloaded a jar file called beagle.14Jan16.841.jar from here and am trying to run it in cmd using the line 我从这里下载了一个名为beagle.14Jan16.841.jar的jar文件,并尝试使用该行在cmd中运行它
java –Xmx8g –jar beagle.14Jan16.841.jar gt=beaglefilt.vcf out=beagleoutput
My cmd directory is the location of the beagle.14Jan16.841.jar file. 我的cmd目录是beagle.14Jan16.841.jar文件的位置。
The error I get is Error: Could not find or load main class ?Xmx8g
我得到的
Error: Could not find or load main class ?Xmx8g
是Error: Could not find or load main class ?Xmx8g
My java is up to date and PATH leads to my java bin folder ( java -version
works). 我的Java是最新的,并且PATH指向我的java bin文件夹(
java -version
有效)。
Your Problem is in - character,in your error say it as ? 你的问题是-性格,在你的错误说出来的?
Try to copy this command and run it: 尝试复制此命令并运行它:
java –jar beagle.14Jan16.841.jar gt=beaglefilt.vcf out=beagleoutput
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.