Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

less than 5 MB desktop application development

 
Shailesh Kulkarni
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to develop desktop application in Swing or web start, client's specific requirement is application's executable size should not more than 5 MB. Is it possible to develop desktop application including Java runtime enviorment within 5 MB?

Are there any other ways to develop thic client with very less footprints.

This is very urgent, please reply ASAP.
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Firstly Swing is a set of Java API's. Webstart is an application delivery mechanism. You can deliver a Swing application with webstart but beyond that there is little more in common.

Not possible to develop this application if the overall size is to include a JRE runtime and remain under 5MB. Current JRE download from the Sun website is 14MB in size.

If you can assume that the JRE is already installed on end-user machines then it is possible to keep the code below 5MB. Note that this has nothing to do with the runtime memory footprint. Our application is around 5MB of jar files but at runtime it blows out to 150MB of memory usage.

You can tell your application to only reserve 5MB of memory at runtime through java command line arguments but you would probably encounter a runtime out of memory error.

Good luck. Jared.
 
Shailesh Kulkarni
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for quick reply. Internet speed is basic problem with application end users so client wants to keep minimum size of executable. If size is above 5MB end user will not download application with very less internet speed. we have advised various options other than JAVA like VB 6.0, Adobe AIR.

Thanks once again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic