加载中…
个人资料
WilliamChen
WilliamChen
  • 博客等级:
  • 博客积分:0
  • 博客访问:538,531
  • 关注人气:231
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

JRE最小能达到的尺寸

(2007-05-29 21:06:11)
标签:

java

kernel

comsuer

jre

分类: Generic Java
     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 typical Swing program, it comes out to about 1.5MB, for a total download of around 3.4MB for the JRE + custom bundle. Bigger programs might use as much as 4MB-5MB of the total JRE size, but it would be rare to exceed that.

        Compared to the current JRE's size of somewhere between 10MB and 15MB, depending on how you measure it, hopefully you will agree that this is quite an improvement."

    更多详细的技术细节和进展情况参见他的文章:

  Java Kernel Unmasked

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有