From: Adam R. <ad...@ex...> - 2014-03-19 22:28:08
|
The JDK's I am using are all the official Oracle ones as I am on a Mac: I have been compiling and running eXist on JDK 7since I fixed the test suite to work with Java 7, a few months ago. I can also compile eXist on JDK 7,if I both target Java 1.7 and set the source compliance level to 1.7 in build.properties, which is good news, no pre 1.6 code kicking about then! At present I cannot compile eXist on JDK 8, due to errors from the AspectJ compiler. NOTE: For some reason when do attempt to compile eXist on JDK 8, Ant is still reporting that it is Compiling with Java 1.7, which I think is wrong, my JAVA_HOME is set to JDK8 and if I run java -version, I see that it prints out the details for JDK 8. It could just be that eXist has a VERY old version of Ant with it (2010)... should probably be updated sometime soon! Compared to when really compile with JDK 7 I get different messages, i.e. no errors on JDK 7! I also appear to be able to run eXist (compiled with JDK 7) on JDK 8. Remember if you are rebuilding an existing eXist, then you also need to run "build.sh xquery" to re-generate the XQuery parser in eXist (this is not part of the default build), otherwise it will not run on JDK 8! I can however compile and run the eXist test suite on JDK 8 (still set as target / source 1.7). Unfortunately there are 6 failing tests, whilst that may not sound like a lot, we normally have zero. Also two of these tests are in the security infrastructure and the others seem to be XQuery and Range Index related, so my advice would not be to use eXist on JDK 1.8 in production just yet. On 18 March 2014 15:43, Loren Cahlander <lor...@gm...> wrote: > With the coming release of java 8 on March, 25, have there been tests of eXist against the new release? > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |