Login  Register

Re: Upgrade ImageJ Not working behind a firewall [SEC=UNCLASSIFIED]

Posted by dscho on Feb 17, 2011; 12:21pm
URL: http://imagej.273.s1.nabble.com/Upgrade-ImageJ-Not-working-behind-a-firewall-SEC-UNCLASSIFIED-tp3685667p3685668.html

Hi,

On Tue, 8 Feb 2011, Goldsmith, Noel wrote:

> I cannot upgrade ImageJ using the "Update ImageJ" menu item under the
> help menu. And I know that under the Options menu there is an item
> "Proxy settings". I can report that I have tried to use this many times
> and failed. From locations which are not behind our firewall it works
> like a dream
>
> But at work, I do the following. Edit>Options>Proxy settings and insert
> the correct address for the proxy and the user name and passwords, and
> then select Help>Update ImageJ I get the dialog which reads. Unable to
> connect to http://rsb.info.nih.gov/ij. You may need to use the
> Edi>Options>Proxy Settings command to configure ImageJ to use a proxy
> server. Can anyone suggest an improvement, or an alternative.

It _might_ be solvable by setting the Java property
"java.net.useSystemProxies" to "true".

You can run this little macro to do so:

        call("java.lang.System.setProperty", "java.net.useSystemProxies", "true");

Ciao,
Johannes