sbt proxy settings

Follow the following to configure sbt use behind the proxy

On Windows

Add the new environment variable with following settings

Variable name

JAVA_OPTS
 
Value
 
-Dhttp.proxyHost=yourserver -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password
 
 
On Linux
 
export JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=yourserver -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password" 
 
Start new command propt and use sbt 

No comments:

Post a Comment

Please share your views and comments below.

Thank You.