[Back to JEvaHz]
[Back to AMO
Page]
Java Blender Guide
What is Java Blender?
Java Blender is an iAppli compression tool.
Using single-character identifiers and
using as few classes as possible,
code size can be considerably reduced,
which is important given limits on iAppli size.
The management [of this kind of optimization]
can be automated by using Java Blender.
Java Blender makes it easier to write "normal
Java" in iAppli even for programs that couldn't
load without this sort of compression.
How to use Java Blender
First, get your iAppli perfect. I.e.,
prepare a proper JAR and JAM file.
Then, using Java Blender, put the JAM file in a designated place. [???]
After that, push the "compress" ("k") button, and with the image going "bakabaka"
[like I do all the time - transl.] the program will get compressed. At this point,
the original JAR and JAM files will be overwritten -- so be careful now.
Concerning differences in compressability
With compressibility set to "Strong" (""), you can make iAppli quite small.
However, this setting can also increase the memory requirement.
How to get Java Blender
The installer is freely distributed.
- Installer Java Blender version 1.00alpha for Windows 95, 98, 2000. (3MB)
- Installer Java Blender version 1.01alpha for Windows 95, 98, 2000. (3MB)
Points of difference: META-INF not included in resulting jar file.
- Installer Java Blender version 1.02alpha for Windows 95, 98, 2000. (3MB)
Points of difference:
can't correctly recognize when there are [already] classes of the same name as
the abbreviated forms [generated] (e.g., "D", "Z", "I", etc.). Also, the date format
changed from "%2d" to "%02d".
- Installer Java
Blender version 1.03alpha for Windows 95, 98, 2000. (3MB)
Points of difference:
Name-shortening algorithm revised
License terms
Copyright cocoa.
All rights reserved. Also, most of Java Blender inherits the restrictions of the
ocaml license
written by ocaml.
For those interested in the compression algorithm
Look
here
for the home page for my literature on the subject. I'll
be releasing the source code soon.
Caveats
- This software is not guaranteed. Cocoa bears no responsibility for the results
of anything produced by Java Blender.
- Make sure it's OK to delete everything
in the installation directory when you do "uninstall".
- iAppli that rely on Class.forName will no longer work correctly.
- Questions and bug reports to cocoa
[Back to JEvaHz]
[Back to AMO
Page]