Fixing java path issue in installer.