JDK 1.6.0u11can be found here: http://java.sun.com/products/archive/j2se/6u11/index.html
It is possible to run Ant with a particular version of Java (using JAVA_HOME or other) and then use "fork" in javac to specify an alternative version of the Java compiler for the build. The documentation of the javac task shows you how to do this: http://ant.apache.org/manual/CoreTasks/javac.html On Fri, Apr 2, 2010 at 1:15 AM, Shilpa Kulkarni <shilp...@gmail.com> wrote: > Corrected subject for the post below. > > On Thu, Apr 1, 2010 at 5:13 PM, Shilpa Kulkarni <shilp...@gmail.com> > wrote: > > > > > Hi Everyone, > > > > Just joined the ant mailing list. I am working on getting a build system > > set up. It needs to produce jdk 1.6.11 binaries. I see following > options: > > > > Option 1: Install jdk 1.6.0_11 on the build machine. So ant scripts will > > use it by default. Problem: Not finding this version on web to download. > > > > Option 2: Set build.compiler property to javac1.6. Problem: Here I do not > > have the precision to specify 1.6.0_11. Not sure whether it will really > > matter. Does anyone think it will matter? > > > > Option 3: Do not set build.compiler property. Instead specify > target="1.6" > > to javac1.6. Problem: Again I do not have the precision to specify > 1.6.0_11. > > > > The build machine is dedicated for one project & will always use same > > compiler version for all its builds. In this case is option 2 better than > 3? > > > > > > Is Option1 possible? Can someone help me get this jdk version please? > > > > Shilpa > > > > >