Allow trailing / in installDir so this works in PE; make jreInstallDir a...

... working variable