Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using proxy #2

Closed
jandot opened this issue Jun 26, 2010 · 4 comments
Closed

Using proxy #2

jandot opened this issue Jun 26, 2010 · 4 comments

Comments

@jandot
Copy link

jandot commented Jun 26, 2010

clj installs very fine on my own laptop (thanks!), but it seems to have issues connecting at the institute. Could it be that it doesn't handle connection through an http-proxy yet?

@liebke
Copy link
Owner

liebke commented Jun 26, 2010

It uses lein deps during install, are you able to use lein sucessfully at the institute?

@jandot
Copy link
Author

jandot commented Jun 28, 2010

I'll let IT at the institute handle this. I'm able to access it from my laptop... (but there's another issue which I'll open separately.

@jandot
Copy link
Author

jandot commented Jun 30, 2010

Got it working: using

java -Dhttp.proxyHost=my-proxy-host -Dhttp.proxyPort=my-proxy-port -jar clj-1.0.0-SNAPSHOT-standalone.jar self-install

Also: added the -Dhttp.proxyHost and -Dhttp.proxyPort to the java command in ./bin/clj

@liebke
Copy link
Owner

liebke commented Jul 4, 2010

The proxy properties will need to be added to every call to cljr, so I've added a JVM_OPTS environment variable support (it's default value is -Xmx1G). Add the proxy properties to this variable:

export JVM_OPTS="-Xmx1G -Dhttp.proxyHost=my-proxy-host -Dhttp.proxyPort=my-proxy-port"

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants