passing Jvm properties (via -D) that contain spaces You should surround only variable value -Dvar="a < b" works for me.