The documentation for ajar mentions that wildcards have to be escaped
(patterns contained in quotes or metachars preceded by backslash) to
prevent Qshell from interpreting them. Maybe this would work for jar
as well. And if not, then you could experiment with replacing jar
with ajar. (It's not very easy for me to test these out myself at the
moment.) Just be aware that ajar's command switches are a little
different than jar's.