Hi Sam & All, On 7/30/2013 8:13 AM, Sam Ottenhoff wrote: > But regardless, isn't this commit > (https://github.com/lyncode/xoai/commit/a25cf93b1861608d8ed2d52b224b243fb0aca511) > saying that any software that depends on XOAI 2.2.9 and up can only > use JDK 7+?
Those lines in the POM essentially say the following: 1) <source>1.7</source> means that only 1.7 or above source code is accepted to be compiled. This is equivalent to the "-source" option passed to "javac" [1]. 2) <target>1.7</target> means that Maven should compile class files targeting a 1.7 JVM (Java 7). In other words, the compiled class files for XOAI are only guaranteed to run on JVM 1.7 or above. This is equivalent to the "-target" option passed to "javac" compiler [1]. Combined, this essentially means that XOAI is being compiled for Java 7 or above. I'm actually surprised it is running properly on OpenJDK 6. I would have expected to see that same "Unsupported major.minor version 51.0" error on any Java 6 implementation. I haven't had a chance to do any additional testing on my own (sorry), but I thought I'd just chip in the meaning behind these two POM settings. My analysis here is that XOAI 2.2.9 seems like it requires Java 7 to run. So, since DSpace 3.2 OAI-PMH uses those classes, it is also essentially requiring Java 7 to function. Therefore, I think this is a bug. It'd be nice to see if we could get a version of XOAI which doesn't require Java 7, since DSpace 3.x allows for Java 6 or above. - Tim [1] Javac documentation & options: http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/javac.html ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

