Ethan Nicholas是Sun
Microsystems公司负责Java Kernel项目的工程师。最近他在一篇文章中详述了Java
Kernel的最新状况,包括如何实现最小尺寸JRE的机制、目前实验的结果。让人兴奋的是,根据其目前结果,对于普通Swing应用程序来说,JRE最小可以做到1.5M:
'The Kernel JRE's installer includes jvm.dll, the other native
files and hundreds of classes needed to boot the JVM, the Java
Plug-In, Java Web Start, java.exe, javaw.exe, javaws.exe, the
installation code, and various support libraries needed to support
the installer (such as unpack200).
And it's only 1.9MB.
If you build a custom bundle containing the classes required to run
a ty