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.

    1 answer 1

    A friend asked for his javadoc file. It did not start, which was to be expected. It was decided to download the latest update JDK8. Fortunately, it has javadoc and is working properly. In the window of creating Eclipse documentation, you need to specify the path yourself, and everything turns out with a bang :)