Re: java 1.4 class files

2009-07-31 Thread Frank Koenig
Usually, there is no problem in running old code on a new jvm. My problem is that the application I am involved with will, because of some unpleasant constraints, never ever run on anything newer than Java 1.4. On 7/30/09, Sean Devlin francoisdev...@gmail.com wrote: This is slightly unrelated,

Re: java 1.4 class files

2009-07-30 Thread Frank Koenig
Thank you Stuart and Daniel for the help. I think I have to step back from the idea to use clojure on this Java 1.4 project :-( Let's hope my next Java project addresses a less archaic Java version. --~--~-~--~~~---~--~~ You received this message because you are

Re: java 1.4 class files

2009-07-30 Thread Sean Devlin
This is slightly unrelated, but... How much work would it be to run the old code on a Java 5/6 VM? I didn't get into Java until 5, so I'm not sure how much work is actually involved w/ upgrading a JVM installation. On Jul 30, 7:07 am, Frank Koenig frakoe.koe...@googlemail.com wrote: Thank you

java 1.4 class files

2009-07-29 Thread Frank
Hi there, is it possible to compile clojure source to Java 1.4 class files? If so, how? Thanks Frank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: java 1.4 class files

2009-07-29 Thread Stuart Sierra
The Clojure runtime classes target Java 1.5. Compiled clojure source files still require clojure.jar. So the answer is probably no, it's not possible. -SS On Jul 29, 9:26 am, Frank frakoe.koe...@googlemail.com wrote: Hi there, is it possible to compile clojure source to Java 1.4 class files

Re: java 1.4 class files

2009-07-29 Thread Daniel Janus
I'd try to first compile Clojure to 1.5 bytecode, then translate it to 1.4 using Retroweaver (http://retroweaver.sourceforge.net/). I don't know whether that'll work, though, since I think the Clojure compiler generates and loads bytecode at runtime. You might need to patch Clojure to somehow