Pass Java options correctly

[#51899933]
Merge 51899933-Play-container to master

[#51899933]