Trying to convert the this section of code to get rid of the lambda expressions so it\'ll be able to work in java 7
System.out.println(nicksGraph.findPath(ni
Take a look at Retrolambda. It is a backport of Java 8's lambda expressions to Java 7, 6 and 5.
Just as there was Retroweaver et al. for running Java 5 code with generics on Java 1.4, Retrolambda lets you run Java 8 code with lambda expressions, method references and try-with-resources statements on Java 7, 6 or 5. It does this by transforming your Java 8 compiled bytecode so that it can run on an older Java runtime