reducing the size of multi-architecture applications

Alan Snyder javalists at cbfiddle.com
Thu Mar 7 22:13:38 UTC 2024


I’m only interested in macOS universal applications. I don’t see a need for multi-OS applications.

The shared libraries do not need to be merged as the runtime is not itself universal, only the launcher is.
The launcher finds the appropriate single-architecture runtime and launches it.


> On Mar 7, 2024, at 2:00 PM, Bernd Eckenfels <ecki at zusammenkunft.net> wrote:
> 
> Alan Snyder wrote on 7. Mar 2024 22:39 (GMT +01:00):
> 
>> That could be done, but it would require more work with no obvious
>> benefit.
>> 
>> Only the Java launcher needs to be universal from the perspective of the
>> OS.
> 
> it’s however not only the exetables. You have also the shared libraries, possibly the class
> data archives, and when it comes to multiple OS there are different classes
> In the JCL and even templates for JDK resources differ by OS. Some modules are OS
> Specific (like SunMSCAPI provider for 64Bit Windows)
> 
> Gruss
> Bernd
>> https://bernd.eckenfels.net
> 



More information about the core-libs-dev mailing list