I create a standalone jar using Lein uberjar. This works perfectly fine on my laptop which is running java 1.8. However the computers at my college run java 1.7.0_60.
Within my project.clj I have added :javac-options ["-target 1.7"]
in order to compile to java 1.7, however this returns the same error as when that jar is compiled for java 1.8. The error being: Unsupported major.minor version 52
.
Maybe the addition of :javac-options ["-target 1.7"]
to my project.clj is having no influence on the version which is compiled, I am unsure, please help!