On Wed, Sep 10, 2008 at 08:53:09PM +0200, Andreas Putzo wrote:
> On Sep 02 10:15, dann frazier wrote:
> > The jre provided by openjdk-6-jre (and possibly others) doesn't honor
> > the http_proxy environment variable. When I'm behind a proxy, that means I
> > need to type something like this:
> > /usr/lib/jvm/java-6-openjdk/bin/java -Dhttp.proxyHost=192.168.1.1
> > -Dhttp.proxyPort=3128 -jar /usr/share/josm/josm.jar
> > It would be nice if the /usr/bin/josm script detected an http_proxy
> > environment
> > variable and automatically added the necessary arguments to the java command
> > line for me.
> I don't think this is something we should fix in the josm wrapper script
> because this problem affects every java application that somehow tries
> to access the network.
> But openjdk-6 allows to define system-wide proxy settings
> in /etc/java6-openjdk/net.properties. There's also a property
> java.net.useSystemProxies which i was told works with the gnome proxy
> settings but unfortunately not with $http_proxy.
> We can probably improve the josm wrapper to use the environment
> variable $JAVA_OPTS to customize the behaviour of the jvm, like
> defining proxy or memory settings.
Ah, that makes sense. Thanks for the suggestions!
Pkg-grass-devel mailing list