You can define system properties on the command line using
-DpropertyName=propertyValue
So you can write
java -jar selenium-rc.jar -Dhttp.proxyHost=YourProxyHost -Dhttp.proxyPort=YourProxyPort
See Java - java launcher application ,
EDIT:
, . main . System.setProperty . ,
public class AppWrapper
{
public static void main(String[] args) throws Exception
{
Class app = Class.forName(args[0]);
Method main = app.getDeclaredMethod("main", new Class[] { (new String[1]).getClass()});
String[] appArgs = new String[args.length-1];
System.arraycopy(args, 1, appArgs, 0, appArgs.length);
System.setProperty("http.proxyHost", "someHost");
main.invoke(null, appArgs);
}
}