If Via is not picking up your systems proxy settings, try the following steps to tell Java to use your system’s proxy settings:
Open the file Via.ini (or Via64.ini) in a text editor. You should see 3 lines already. Add the following 4 lines with the data about your proxy:
vmarg.2=-Djava.net.useSystemProxies=true
Right-click on Via.app, and select "Show Package Contents”. Open the file Contents/Info.plist in a text editor. Search for JVMOptions, it should be found around line 62. After that line, there are already some lines containing Strings starting with “-D”. Add the following 4 lines after them:
<string>-Djava.net.useSystemProxies=true</string>
Open the file “via” in a text editor. Change the variable JOPTS to contain the additional arguments about using the systme proxy:
JOPTS="-Xmx1500m -DsuppressSwingDropSupport=true -Djava.net.useSystemProxies=true”
If the steps described in method 1 do not work, you can directly tell Java the proxy settings to be used. Replace the placeholders proxyHost, proxyPortnumber, proxyUsername, proxyPassword with the corresponding values provided by your IT staff.
Open the file Via64.ini
in a text editor. You should see 3 lines already (or 4 if you first followed method 1). Add the following 4 lines with
the data about your proxy. If you have already the line starting with vmarg.2
from method 1, overwrite that line.
vmarg.2=-Dhttp.proxyHost=proxyHost
vmarg.3=-Dhttp.proxyPort=proxyPortnumber
vmarg.4=-Dhttp.proxyUser=someUsername
vmarg.5=-Dhttp.proxyPassword=somePassword
Right-click on Via.app, and select "Show Package Contents”. Open the file Contents/Info.plist
in a text editor. Search for JVMOptions
, it should be found around line 62. After that line, there are already some lines containing strings starting with “-D
”. Add the following 4 lines after them:
<string>-Dhttp.proxyHost=proxyHost</string>
<string>-Dhttp.proxyPort=proxyPortnumber</string>
<string>-Dhttp.proxyUser=someUsername</string>
<string>-Dhttp.proxyPassword=somePassword</string>
Open the file via
in a text editor. Change the variable JOPTS to contain the proxy information, for example:
JOPTS="-Xmx1500m -DsuppressSwingDropSupport=true -Dhttp.proxyHost=proxyHost -Dhttp.proxyPort=proxyPortnumber -Dhttp.proxyUser=someUsername -Dhttp.proxyPassword=somePassword”