Hi everyone,
i run the command "networksetup -setwebproxy "Built-in Ethernet"
202.115.32.31 80" in the terminet,it is successful,and i check up
the System Network preference ,the Proxy has been set successfully.
i program to implement this function with java.like this:
Runtime runtime=Runtime.getRuntime();
runtime.exec("networksetup -setwebproxy "+" \""+"Built-in
Ethernet"+"\" "+" 202.115.32.31 80");
it doesn't run successfully. and display the message:Built-in is not a
recongnized network service.
why ??
Thank you :)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden