Adds a minor fix - changes JRE_HOME only in a case it was not defined before

Fixes: https://bugzilla.novell.com/show_bug.cgi?id=841284

Signed-off-by: Michal Vyskocil <mvyskocil@suse.cz>
Signed-off-by: Werner Fink <werner@suse.de>