Created
March 29, 2017 18:19
-
-
Save camsaul/c982019fd915510677236cd4b720a583 to your computer and use it in GitHub Desktop.
Run lein with different JVM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home lein run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can, add
:java-cmd "/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java"
to your project.clj, or the path of whatever other java binary you are using