如何在Solaris中为Java配置代理设置以处理代理自动配置(PAC)脚本? [英] How do I configure proxy settings for Java in Solaris to handle Proxy Auto Config (PAC) scripts?
问题描述
我想在Solaris上配置上的Java代理设置以使用代理自动配置(PAC)脚本。
I would like to configure Java proxy settings on Solaris to use a Proxy Auto Config (PAC) scriptt.
我找到了有关使用Java控制面板在Windows计算机上进行设置的说明,但在Solaris Java安装中无法找到在何处/如何进行相同的设置更改。
I have found instructions for making the settings on a Windows machine using the Java control panel, but am having trouble finding where/how to make the same setting changes on a Solaris Java install.
我想使用代理自动配置(PAC)脚本,而不是手动设置每个连接的代理信息,或使用单个代理。我需要为不同类型的URL利用多个代理。
I would like to use the Proxy Auto Config (PAC) script, rather than manually setting proxy info per connection, or using a single proxy. I have a need to leverage multiple proxies for different types of URLs.
推荐答案
可悲的是系统代理选择器不处理PAC / WPAD / JS规范,我通过Windows测试或MacOS X.即使在Java6上,它也包含一个JavaScript解释器。
Sadly the system proxy selector does not handle PAC/WPAD/JS specifications, confirmed by my testing with Windows or MacOS X. Even on Java6, which includes a JavaScript interpreter.
我希望 proxy-vole http://code.google.com/p / proxy-vole / 可以解决问题。
I'm hoping proxy-vole http://code.google.com/p/proxy-vole/ may do the trick.
这篇关于如何在Solaris中为Java配置代理设置以处理代理自动配置(PAC)脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!