You'll run into a few interdependencies. A number of modules have API that requires Swing/AWT (such as beans - BeanInfo has a getIcon() method). Sometimes the core depends on things in other modules (String.split()) needs regex, and a number of modules like logging use split() - although you can recode them so they don't.) In general, it's a little effort to make things smaller, but definitely not impossible.
On Sun, Aug 24, 2008 at 8:10 PM, Xiao-Feng Li <[EMAIL PROTECTED]> wrote: > I think that should be easy to leave out some unused Classlib > packages. That is one of the design target to manage the packages > independently with OSGI. > > There should be also opportunity to reduce the distribution size of > DRLVM. For example, not all the JIT optimizations or GC algorithms are > needed all the time. But it requires to touch the source code, so it > is not so straightforward as with Classlib. > > Thanks, > xiaofeng > > On Sat, Aug 23, 2008 at 7:41 PM, Ian Leslie > <[EMAIL PROTECTED]> wrote: > > I have been watching Harmony's progress for a little while now and am > very > > excited about using Harmony with my application. I have done some > testing > > and am quite pleased with it. However I cannot find information about > how > > to distribute a JRE that has a smaller foot print than the full version. > I > > am hoping that there will be a way to download or create myself such a > > package. Am I correct - when Harmony is complete will I be able to > create a > > smaller foot print distribution for my application? > > > > My application is using eclipse RCP for the GUI and therefore has no need > > for any of the Swing libraries. There are other portions of the standard > > classes that it does not need either and I have always wanted to ship > > something smaller than the ~60M foot print of the JRE. Can I expect to > > accomplish that from the Harmony project? > > > > Thanks, > > > > Ian > > > > > > > > -- > http://xiao-feng.blogspot.com >
