Changed JavaExample to use JConfig.setUrlPrefix