added linking lein profiles and java version selection