michael nesterenko
michael nesterenko

Reputation: 14439

Java proxy settings

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 global proxy settings, it has to use direct connection.

How can I do it with command line arguments?

Upvotes: 3

Views: 6482

Answers (2)

Arulselvan Dhandapani
Arulselvan Dhandapani

Reputation: 67

open java control panel using

javaws -viewer

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

Upvotes: -1

Thomas
Thomas

Reputation: 88707

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 ...

Upvotes: 2

Related Questions