I was grabbing the snapshots of clojure and clojure-contrib and using them in a Netbeans plugin (which needs 1.5. Netbeans just crashes in an RT call).
(System/getProperty "java.vm.version") The above returns the running jvm version. I was looking at the jar manifest to see what it was built with which is where I saw the 1.6 reference for clojure-contrib. Having the target=1.5 property set for the clojure-contrib build might get me where I need to be. I just have not had a chance to try it yet. Thanks, Eric On Mar 23, 8:06 am, Alex Osborne <a...@meshy.org> wrote: > Hi Eric, > > Eric Thorsen <ethor...@enclojure.org> writes: > > This is more of a maven question probably, but I have an app that > > needs versions of the jars built with jdk 1.5 and I'm using the > >http://build.clojure.org/snapshotsrepo where they appear to be built > > with 1.6. Are there versions (or plans to support 1.5 versions) in a > > maven repo somewhere? > > Have you actually tested them? Which jars in particular are you talking > about? > > The 1.2.0-master jars are working fine here with 1.5: > > $ wgethttp://build.clojure.org/snapshots/org/clojure/clojure/1.2.0-master-S... > $ wgethttp://build.clojure.org/snapshots/org/clojure/clojure-contrib/1.2.0-... > $ java -cp > clojure-1.2.0-master-20100319.170114-16.jar:clojure-contrib-1.2.0-master-20 > 100122.191106-1.jar clojure.main > Clojure 1.2.0-master-SNAPSHOT > user=> (require 'clojure.contrib.seq-utils) > nil > user=> (System/getProperty "java.vm.version") > "1.5.0_12-b04" > user=> > > Also even 1.5.0_01 and an older snapshot from January: > > $ /opt/java/jdk1.5.0_01/bin/java -jar > clojure-1.2.0-master-20100111.160127-1.jar > Clojure 1.2.0-master-SNAPSHOT > user=> > > Obviously 1.4 doesn't work but I couldn't trigger any problems with > 1.5. > > Is there something in particular you were doing? > > Cheers, > > Alex -- 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.