Hacker News new | ask | show | jobs
by ad133 3195 days ago
Is that why JDK9 is 350MB (Windows x64) vs 190MB for JDK8u144? I'm off to go explore more, but for something that's meant to be smaller and more modular, this was a bit of a surprise!

Edit: Also, I was sure Jigsaw was approved in the end; that's why we've had to wait until September.

3 comments

From the article:

> JDK 9 downloads are larger than JDK 8 downloads because they include JMOD files so that you can create custom run-time images. To learn about JMOD files see the Project Jigsaw Quick-Start Guide and JEP 282.

The javac compiler has a new option "--release" which can compile against previous Java releases 6, 7 and 8. So the new JDK bundles parts of the previous releases.
Yes. Jigsaw was approved with some voters abstaining. https://www.jcp.org/en/jsr/results?id=6050
To be more clear, only Red Hat abstained (so not voters, but a single voter).

Intel didn't vote at all. (on previous vote Intel voted yes)

You can use Jigsaw to deliver smaller self-contained systems. It was never going to make the JDK itself smaller, just (maybe) help life for non-developers who have to use our crap.