Thanks for reporting this! Maybe this would work?: https://blog.frankel.ch/migrating-to-java-9/1/
david. On Thu, Feb 15, 2018 at 1:56 PM, Dave Jones <djo...@kbsi.com> wrote: > I think this is a "known issue", but, for now, you might want to include a > note in the build instructions that Java 9 may not be used for builds. > > Java 9 does not have a tools.jar: > > https://docs.oracle.com/javase/9/migrate/toc.htm# > JSMIG-GUID-055EA9F4-835E-463F-B9E1-9081B3D9E55D > > The Common API appears to have a dependency on tools.jar (I received the > same error on both master and 3.2.12-RC1): > > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Building Apache Rya Common API 3.2.13-incubating-SNAPSHOT > [INFO] ------------------------------------------------------------ > ------------ > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Rya Project ................................. SUCCESS [ > 4.700 s] > [INFO] Apache Rya Common Projects ......................... SUCCESS [ > 0.870 s] > [INFO] Apache Rya Common API .............................. FAILURE [ > 0.250 s] > [INFO] Apache Rya Common API - Models ..................... SKIPPED > [INFO] Apache Rya Common API - Evaluation Functions ....... SKIPPED > [INFO] Apache Rya Provenance .............................. SKIPPED > [INFO] Apache Rya DAO Projects ............................ SKIPPED > [INFO] Apache Rya Accumulo DAO ............................ SKIPPED > [INFO] Apache Rya MongoDB DAO ............................. SKIPPED > [INFO] Apache Rya Extra Projects .......................... SKIPPED > [INFO] Apache Rya Prospector .............................. SKIPPED > [INFO] Apache Rya Manual .................................. SKIPPED > [INFO] Apache Rya SAIL .................................... SKIPPED > [INFO] Apache Rya PCJ Core ................................ SKIPPED > [INFO] Apache Rya Periodic Notification Parent ............ SKIPPED > [INFO] Apache Rya Periodic Notification API ............... SKIPPED > [INFO] Apache Rya PCJ Fluo Parent ......................... SKIPPED > [INFO] Apache Rya PCJ Fluo App ............................ SKIPPED > [INFO] Apache Rya PCJ Fluo API ............................ SKIPPED > [INFO] Apache Rya Secondary Indexing ...................... SKIPPED > [INFO] Apache Rya Periodic Notification Service ........... SKIPPED > [INFO] Apache Rya Periodic Notification Service on Twill .. SKIPPED > [INFO] Apache Rya Periodic Notification Service on Twill on YARN SKIPPED > [INFO] Apache Rya Test Parent ............................. SKIPPED > [INFO] Apache Rya Test Kafka .............................. SKIPPED > [INFO] Apache Rya PCJ Fluo Client ......................... SKIPPED > [INFO] Apache Rya Integration Base ........................ SKIPPED > [INFO] Apache Rya Periodic Notification Service Integration Tests SKIPPED > [INFO] Apache Rya Streams Parent .......................... SKIPPED > [INFO] Apache Rya Streams API ............................. SKIPPED > [INFO] Apache Rya Test RDF ................................ SKIPPED > [INFO] Apache Rya Streams Kafka ........................... SKIPPED > [INFO] Apache Rya Shell ................................... SKIPPED > [INFO] Apache Rya Secondary Indexing Example .............. SKIPPED > [INFO] Apache Rya MapReduce Tools ......................... SKIPPED > [INFO] Apache Rya Reasoning ............................... SKIPPED > [INFO] Apache Rya Vagrant VM .............................. SKIPPED > [INFO] Apache Rya PCJ Fluo Integration Tests .............. SKIPPED > [INFO] Apache Rya PCJ Fluo Demo ........................... SKIPPED > [INFO] Apache Rya Export Parent ........................... SKIPPED > [INFO] Apache Rya Export API .............................. SKIPPED > [INFO] Apache Rya Export Accumulo ......................... SKIPPED > [INFO] Apache Rya Export Mongo ............................ SKIPPED > [INFO] Apache Rya Export Client ........................... SKIPPED > [INFO] Apache Rya Export Integration Tests ................ SKIPPED > [INFO] Apache Rya Merge Tool .............................. SKIPPED > [INFO] Apache Rya Giraph .................................. SKIPPED > [INFO] Apache Rya Streams Kafka Test ...................... SKIPPED > [INFO] Apache Rya Streams Client .......................... SKIPPED > [INFO] Apache Rya Streams Kafka Integration Tests ......... SKIPPED > [INFO] Apache Rya Forward Chaining Inference .............. SKIPPED > [INFO] Apache Rya OSGI Bundle ............................. SKIPPED > [INFO] Apache Rya ALX ..................................... SKIPPED > [INFO] Apache Rya ALX Console ............................. SKIPPED > [INFO] Apache Rya Camel ................................... SKIPPED > [INFO] Apache Rya Pig Projects ............................ SKIPPED > [INFO] Apache Rya Accumulo Pig ............................ SKIPPED > [INFO] Apache Rya Spark Support ........................... SKIPPED > [INFO] Apache Rya Web Projects ............................ SKIPPED > [INFO] Apache Rya Web Implementation ...................... SKIPPED > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 7.252 s > [INFO] Finished at: 2018-02-15T12:42:26-06:00 > [INFO] Final Memory: 47M/157M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] Failed to execute goal on project rya.api: Could not resolve > dependencies for project org.apache.rya:rya.api:jar > :3.2.13-incubating-SNAPSHOT: Could not find artifact > jdk.tools:jdk.tools:jar:1.6 at specified path C:\Java\jdk-9.0.1/../ > lib/tools.jar -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ > DependencyResolutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :rya.api > > C:\Users\djones\workspace\github\rya-rel\incubator-rya-3.2.12-RC1> >