More fixes for jar relaunching

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>