Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [ANN] Excelsior JET 4.5 - reduce the download size of your game  (Read 3037 times)
0 Members and 1 Guest are viewing this topic.
Offline dleskov

Senior Member


Medals: 10



« Posted 2006-07-11 14:50:02 »

Excelsior JET, a JVM with Ahead-Of-Time compiler, has been updated to version 4.5.

New in this release:

1. Now Excelsior JET may help you reduce the download size of your Java applications, thanks to the brand new global optimizer and advanced compression algorithms.

2. The use of the global optimizer also reduces application memory usage, especially on Linux.

3. Excelsior Installer is now available on both Windows and Linux.

4. Ease-of-use enhancements, new installation toolkit features, and JIT compiler speedup are also among the major improvements.

Excelsior JET is certified Java Compatible on a number of Windows and Linux platforms. Added to the list in this release is SUSE Linux Enterprise Server 9.

Please visit our Web site for complete information or download your fully functional Excelsior JET 4.5 Evaluation Package.

Finally, our pricing targets corporate customers, but we are willing to trade discounts of up to 100% for assistance in spreading the word about our product.  Have you created a quality Java game that would benefit from being optimized and packaged by Excelsior JET? Would you consider telling others on your Web site, in the game docs, and/or elsewhere about those benefits? If yes, please contact us to discuss the opportunities.

Please feel free to forward this information to your friends and colleagues who you think might be interested in Excelsior JET.

With best regards,

Dmitry Leskov
Excelsior LLC

Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #1 - Posted 2006-07-12 05:37:46 »

good news !

I'm going to try it, last time my game exe was > 30megs (instead of 10 megs of pack200 jars).

Lilian

Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #2 - Posted 2006-07-26 13:57:49 »

Well... I've tried it and still am above 20 megs (24).

Too bad !

Has anybody else been luckier than me ?

Lilian Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #3 - Posted 2006-07-26 14:06:23 »

try running UPX on the executable to shrink the size.

DP

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #4 - Posted 2006-07-26 15:08:43 »

99,2% (-200kb) ...

not enough I'm afraid

Lilian Smiley

Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #5 - Posted 2006-07-27 13:19:54 »

I've made some progress since yesterday... now the size is 20megs, which is better yet still a bit high.

of course compared to full JRE + 10megs of pack200 jars, it's competitive... now if only I could reach 16 megs...

I've contacted the JET team to see if they can reach better compression than me, so far they are very reactive.

Lilian Smiley

Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #6 - Posted 2006-07-27 14:35:03 »

So... you're using some awt then?

You should see bigger savings with pure lwjgl for example.

弾幕 ☆ @mahonnaiseblog
Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #7 - Posted 2006-07-27 14:46:05 »

yes I started the game with some Swing / AWT / Java2D stuff, and it's a bit late to go back...

(well, may be I'll try it depending on the results of JET team investigations... )

Lilian Smiley

Offline dleskov

Senior Member


Medals: 10



« Reply #8 - Posted 2006-07-29 05:47:51 »

While my colleagues at Excelsior are helping you out, I'll post a short explanation of how Excelsior JET 4.5 reduces the download size here.

Consider two simple facts:

1. Any given Java application uses only a subset of the standard Java SE API. A server-side app is unlikely to use Swing, whereas a game is unlikely to use JDBC.

2. The Sun license does not permit you to subset the API when you redistribute the Java SE technology, even if it is a private copy that only your application will use.

What Excelsior JET global optimizer does is it analyzes your application jars and determines the subset of the standard API required for your application to work. It then compiles the classes of that subset together with your application classes and links them all into a single executable. When you package your application for distribution with Excelsior Installer selected as the back-end, the remaining API classes are compressed using pack200, and then all files are compressed using LZMA.

Now, suppose the the analyzer has failed to detect usage of a particular API class. This may happen if the class is not explicitly imported but loaded dynamically via refelction or JNI. No problem: the "unused" API classes will be unpack200ed during installation and the class will be JIT compiled. So this technique is safe and in full compliance with the license.

To sum it up, the less intensive is your usage of the standard API, the smaller the resulting installer will be. Perhaps the biggest save may be achieved by using  SWT and LWJGL respecitvely for GUI and 3D graphics, as that would enable the global optimizer to rule out AWT and Swing.

Any questions, please post here.

Finally, we have ideas on how to further reduce download size and disk footprint of Java applications without violating the license, so stay tuned!

Dmitry

Offline c_lilian

Senior Member


Projects: 1


Java games will probably rock someday...


« Reply #9 - Posted 2006-08-19 16:28:38 »

I just got a reply from JET team : now we're at 18.5 megs, not too bad given I'm using Swing and AWT

I working now on a new version of the game which should have a smaller download size, and more content, I'll keep you posted ni a month or two !

Lilian Smiley

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (23 views)
2014-08-22 19:31:30

atombrot (34 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (28 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (27 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (42 views)
2014-08-06 19:49:38
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!