...
The easiest way is to define the JAVA system property java.net.useSystemProxies in the .JPIF. By default does JAVA not use the LAN system proxy settings for JAVA backwards compatibility reason. You should define this property to true to use the default LAN settings.
Before 2014.02 using jpif file
Code Block |
---|
..\jre
-Xmx1024m
-Djava.net.useSystemProxies=true
-cp
....
|
Since 2014.02, in the ini file
Code Block |
---|
arg.2=-Djava.net.useSystemProxies=true |
If you have proxy settings different from LAN, you can explicitely define them in the .JPIF
All below listed settings are optional and only required, if it differs from the default setting. For example, it is possible to define only the proxyHost.
Code Block |
---|
..\jre
-Xmx1024m
-Dhttp.proxyHost=[proxyhostURL]
-Dhttp.proxyPort=[proxyPortNumber, default 80]
-Dhttp.proxyUser=[someUserName]
-Dhttp.proxyPassword=[somePassword]
-cp
....
|
...