I need to run gradle with a 1.4 jdk, specifically IBM's 1.4 jdk. The reason for this is that I need to run a websphere EJB deploy ant task to create some EJBs and I have found that this is dependent on IBM's was 5.1 jdk, which is version 1.4.2. I am on a Windows XP machine, so I have the regular windows cmd and also cygwin. When I try to use gradle (even gradle -v) in cygwin if my JAVA_HOME is set to the 1.4 JDK, I get the error:
The java class could not be loaded. java.lang.UnsupportedClassVersionError: org/gradle/BootstrapMain (Unsupported major.minor version 49.0) This happens both with the current snapshot of gradle and the current svn version of gradle, even if I build the source with the 1.4 jdk. In Windows cmd, both the current snapshot and the current svn built with 1.4 jdk appear to work. I can execute gradle -v and gradle clean runs quickly, but if I actually try to build something, gradle starts quickly and each successive project configuration takes more time until eventually it runs out of memory. I've never used gradle in cmd so I guess it doesn't surprise me that it doesn't work, but how can I get gradle running with IBM's 1.4 JDK in cygwin? Any thoughts would be very much appreciated. -Jerod -- View this message in context: http://www.nabble.com/gradle-with-a-1.4-jdk-tp18385565p18385565.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
