This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes less than 5 MB desktop application development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "less than 5 MB desktop application development" Watch "less than 5 MB desktop application development" New topic
Author

less than 5 MB desktop application development

Shailesh Kulkarni
Greenhorn

Joined: Feb 11, 2005
Posts: 11
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

Joined: Aug 18, 2004
Posts: 243
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.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
Shailesh Kulkarni
Greenhorn

Joined: Feb 11, 2005
Posts: 11
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.
 
Don't get me started about those stupid light bulbs.
 
subject: less than 5 MB desktop application development
 
Similar Threads
Why make process size so huge on WindowsXP?
Building a Computer
need idea on cloud technology base remote desktop application?
XMl reading and taking huge time
Is Java ready for the desktop?