Closed barkanido closed 7 years ago
Hmm. I think upgrading to JDK 8 should resolve this. I should probably update the README to require JDK 8, it's been out for a while now.
Isn't it easy to support Java 7?
No.
Specifically, in this case the exception you've gotten indicates that an upstream dependency (clj-antlr or one of it's dependencies) was compiled with Java 8, which Java 7 won't be able to parse at runtime. This Java 8-compiled dependency was then uploaded to Clojars or one of the other public artifact repositories, which means it is not within Ultra's control.
If you wanted to, you could go and download the relevant source code locally and try to compile it with Java 7 and install it to your local Maven dependency cache, at which point you should be able to install and run Ultra without requiring Java 8. But the simplest thing to do would be just to move to Java 8.
Closing this issue now that I've updated the README.
using ultra 0.5.0, when running lein repl I get:
Exception in thread "main" java.lang.UnsupportedClassVersionError: clj_antlr/ParseError : Unsupported major.minor version 52.0, compiling:(clj_antlr/common.clj:1:1)
my ~/.lein/profile:java version "1.7.0_80" lein deps tree shows:
commenting out the ultra dependency in profiles solves it.