To (possibly) clarify, I think what Tim meant was more along the lines of "have your code depend on the java.nio package, which means it will die at compile time on Java 1.6 and lower with a ClassNotFountException, and therefore say in the README that this requires Java 1.7+".
On 4 January 2018 at 13:34, Tim Visher <tim.vis...@gmail.com> wrote: > On Thu, Jan 4, 2018 at 12:04 AM, Edward Knyshov <edv...@gmail.com> wrote: >> >> Thanks :) >> >> I haven't considered using nio Zip FileSystem just because I never heard >> of it, but I'll definitely check it out. >> >> Regarding targeting to java 7, should something like this set up targeting >> properly? >> >> :javac-options ["-target" "1.7" "-source" "1.7"] > > > Not really. That's for compiling java code. I think that may interact in > some way with AOT as well but I'm honestly not sure. A library really > shouldn't AOT anything anyway (most things shouldn't :) ). > > What I meant by targeting wasn't compilation but requiring a minimum java > version of 1.7, as the java.nio.file package was only added in 1.7 iiuc. > > In contrast, clojure itself only requires 1.6. > > -- > > In Christ, > > Timmy V. > > https://blog.twonegatives.com > https://five.sentenc.es > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.