There is a project with Java 8 features, compiled, executed as it should. I work in Eclipse, Mac OS. But when generating Javadoc, a lot of errors come out like these:
illegal start of expression
.map((num)->num.toString())
')' expected.reduce((s1, s2)-> s1 + " " + s2);
Previously, there was a JDK 6, eight recently screwed. Looking closely at the creation of the documentation, I found that the program is running for generation at /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javadoc . But in a similar way for 1.8.0 this is not available. Probably, I need to put a full-fledged JDK 8. Where can I find one, this one was received from the official site? Or separately this program, as 230 MB to load in my conditions is very inconvenient.