开发者

Java proxy settings

开发者 https://www.devze.com 2023-04-07 20:32 出处:网络
I have global proxy settings made from Java control applet. It takes proxy settings from browser. I need to run a Java application that does not use开发者_JAVA百科 global proxy settings, it has to use

I have global proxy settings made from Java control applet. It takes proxy settings from browser. I need to run a Java application that does not use开发者_JAVA百科 global proxy settings, it has to use direct connection.

How can I do it with command line arguments?


Did you have a look here: http://download.oracle.com/javase/6/docs/technotes/guides/net/proxies.html ?

You can set the system properties from the command line: java ... -Dhttp.proxyHost=your-proxy.example.com ...


open java control panel using

javaws -viewer

General-> Network Settings -> direct Connetcion now direct connection is set

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号