A DESCRIPTION OF THE PROBLEM :
Currently JVM is the only software that refuses to obey standard https_proxy variable and requires custom configuration using JVM flags.
PS. This should also work on Windows and take precedence over IE settings. If user is setting this variables they know what they are doing.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
export https_proxy=your.proxy:8080
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java uses proxy
ACTUAL -
Java does not use proxy
CUSTOMER SUBMITTED WORKAROUND :
Use JVM flags -Dhttp.proxyHost= -Dhttp.proxyPort=
FREQUENCY : always
Currently JVM is the only software that refuses to obey standard https_proxy variable and requires custom configuration using JVM flags.
PS. This should also work on Windows and take precedence over IE settings. If user is setting this variables they know what they are doing.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
export https_proxy=your.proxy:8080
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java uses proxy
ACTUAL -
Java does not use proxy
CUSTOMER SUBMITTED WORKAROUND :
Use JVM flags -Dhttp.proxyHost= -Dhttp.proxyPort=
FREQUENCY : always
- relates to
-
JDK-4923714 DefaultProxySelector doesn't pickup proxy settings from underlying platform
-
- Resolved
-
-
JDK-5011076 java should honour http_proxy, ftp_proxy, etc.
-
- Closed
-