Path: csiph.com!aioe.org!.POSTED!not-for-mail From: omegajunior Newsgroups: comp.lang.java.programmer Subject: Re: Jigsaw Date: Wed, 26 Apr 2017 18:37:05 -0400 (EDT) Organization: nntp.aioe.org Lines: 48 Message-ID: References: NNTP-Posting-Host: +A5aWA/Qukm4ty/5C0x8Tw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: PiaoHong.Usenet.Client.Free:1.65 Xref: csiph.com comp.lang.java.programmer:36540 Eric Sosman Wrote in message: > On 4/24/2017 11:15 AM, Eric Douglas wrote: >> On Monday, April 24, 2017 at 10:44:28 AM UTC-4, Arne Vajhøj wrote: >>> Java classes are loaded when they are needed, so I would assume >>> no changes to classes loaded. >>> >>> In theory it should be possible to create a JRE subset with only >>> some modules. >>> >>> I don't think the Java license permits it. >>> >>> I don't think there is much point. Given todays network speeds >>> and disk sizes the JRE is relative small. >>> >>> I assume they have done the split for the same reasons other >>> would want to use the module system. To decouple things better >>> and make it easier to maintain. >>> >>> Arne >> >> http://openjdk.java.net/projects/jigsaw/ >> >> The first stated goal was to scale down to fit a Java on smaller devices. I'm not sure how much space a JRE takes up or what sort of devices you'd need to be able to fit just part of the JRE. > > Data point: On a Windows machine, the current JRE takes 179MB. > Class libraries take 96MB, with 53MB devoted to rt.jar, the "core" > classes. Binaries take another 83MB, of which 40MB are used by > something called "jfxwebkit.dll" -- perhaps the way to slim down > Java is to ditch JavaFX! :) > > -- > esosman@comcast-dot-net.invalid > Thirteen hundred sixty-seven days to go. > JavaFX indeed is huge, and most of its standard GUI are severely lacking. I've found myself adding the most basic of GUI functionalities, or adding components from JFXtras etc. And yes, if your application doesn't need JavaFX, you should be able to cut it out of the distribution. -- ----Android NewsGroup Reader---- http://usenet.sinaapp.com/