문제

I have an application that launches javaws using

Runtime.getRuntime().exec(new String[] {[javawsPath], [jnlpPath]}, null);

That works fine. However, I now need to also give it the proxy settings (host and port), which I will prompt the user for before launching javaws.

How can I do this? I tried adding

"deployment.proxy.http.host=[url]", "deployment.proxy.http.port=[port]"

to the String[] in exec(), but that gives me an invalid argument exception.

Any ideas?

Thanks!

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top