sun jre does not honour the http_proxy env variable, though it might be an idea to automatically parse it inside launcher.bash. Some code (probably not very nice and optimized, but "worksforme") how this could be done: proxy_port=`echo $http_proxy|sed -e 's/.*://g'` proxy_host=`echo $http_proxy|sed -e 's!.*://\(.*\):.*!\1!g'` java -Dhttp.proxyHost=$proxy_host -Dhttp.proxyPort=$proxy_port -jar somejarfile.jar
(In reply to comment #0) > sun jre does not honour the http_proxy env variable, though it might be an idea > to automatically parse it inside launcher.bash. > > Some code (probably not very nice and optimized, but "worksforme") how this > could be done: > proxy_port=`echo $http_proxy|sed -e 's/.*://g'` > proxy_host=`echo $http_proxy|sed -e 's!.*://\(.*\):.*!\1!g'` > java -Dhttp.proxyHost=$proxy_host -Dhttp.proxyPort=$proxy_port -jar > somejarfile.jar > Try setting java.net.useSystemProxies to true in ~/.gentoo/java-config-2/current-user-vm/jre/lib/net.properties
Any news here?
This bug has just affected me; needing a proxy variable in jabref.