PLF-4135: Several problems if JAVA path contains space character

Fix description:
	- Use directly jar of jre in JAVA_HOME to activate auto completion instead of declaring in script file