Migrating application to GAE - changed code to make it compatible; need
to fix JRE path setting