简体   繁体   中英

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

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.

The error I get is 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).

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM