Java 6 Update 10 (which is in release candidate stage right now) is introducing a new Java Kernel. It allows for incremental downloading of the JRE and/or plug-in. This is so applications can start faster for users that do not yet have the JRE installed. It first downloads the parts that are needed, starts the application, and then downloads the remainder.
I have not done enough reading on it to know if it will allow you to limit the size of the JRE you bundle with an application. You can look here (
http://java.sun.com/developer/technicalArticles/javase/java6u10/index.html) for a technical article on what Java 6 update 10 is bringing to the table. (Not sure why they are doing this as an "update" rather than a .1 release.) I believe the Java Kernel is geared towards
applets and Java Web Start (JWS) applications, so it may not offer what you are looking for. But again, I've only cursorily read on the subject.
There have been a number of articles on the subject on java.net as well. So Googling that site for
Java Kernel might give you some more info.
[ August 25, 2008: Message edited by: Mark Vedder ]