java - Trying to execute jar using cygwin, arguments not recognized -


i have makefile calls java parser process files before compilation. while in linux works when running on windows 7 machine using cygwin input recognized jar files.

my command inside make like

java -jar ${my_dir}/myparser.jar -arg1 -arg2 -arg3 input.file output.file ;\ 

and error input.file not valid jar file... assume has paths , how cygwin handles java can't make work.

thanks in advance

try putting ()

exec java -jar $(cygpath -w /path/to/myparser.jar) -arg1 -arg2 -arg3  input.file output.file 

srry not enough rep add comment .


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -