Use the proxy JRE feature.