I'll just go ahead and answer my own question and save everyone else the
trouble. Silly Dustin, all you have to do is set a system property. You
can do that like this:
java -DsocksProxyHost=socks.whatever.org -DsocksProxyPort=1080 MyClass
Sorry for adding to the noise... at least this will show up in the list
archives and perhaps the next person won't have to ask the list.
dstn.
> I assume it's a properties file somewhere. Here's a relevant code snippet
> from PlainSocketImpl:
>
> ---------
> /**
> * Returns true if implementation should use the SOCKS protocol
> * (i.e. the user has set the required properties to enable SOCKS to
> * be used).
> */
> private boolean usingSocks() {
> String ssp = (String) java.security.AccessController.doPrivileged(
> new sun.security.action.GetPropertyAction(socksServerProp));
> return (ssp != null);
> }
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]