Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (623)
Games in Android Showcase (176)
games submitted by our members
Games in WIP (676)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Macro / Inlineable  (Read 8657 times)
0 Members and 1 Guest are viewing this topic.
Offline oNyx

JGO Coder

Medals: 2

pixels! :x

« Reply #30 - Posted 2005-09-12 15:02:04 »

You can unpack without java. The jdk comes with a native unpack program, which can be used by installers. The jre installer uses this technique (afaict).

You could use these cmd line parameters:

pack200 --no-gzip --modification-time=latest --effort=9 --deflate-hint="false" --strip-debug --unknown-attribute=strip foo.jar.pack foo.jar

And instead of gzip you could use a superior compression scheme like lzma. Over at you can get the lzma sdk, which comes with a cmd line compressor/decompressor.

However, the best option would be using an installer, which already does that like NSIS.

With lzma the JEmu2 jar gets down to 201,947 Bytes (-fb255) and the rt.jar gets even down to 3,543,040 Bytes *gasp* Smiley

Warning - while you were typing a new reply has been posted. You may wish to review your post.

Uhm yea... basically what Cas said. LZMA ftw! Grin

弾幕 ☆ @mahonnaiseblog
Offline princec

« JGO Spiffy Duke »

Medals: 583
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #31 - Posted 2005-09-12 15:36:31 »

Readers may like to note the difference in download size between the Mac OS version of Ultratron (which is more or less just the pure java 1.4 jars needed to play the game in a zip) and the Win32 version of Ultratron (which also contains an entire, er, Puppygames Java Runtime. Possibly)

Cas Smiley

Offline swpalmer

JGO Coder

Exp: 12 years

Where's the Kaboom?

« Reply #32 - Posted 2005-09-13 00:01:03 »

Though we also have the ability to package a linux installer (without VM) for a "remote mode" version of our application.  It's essentially the UI to the real app that talks to a server via TCP instead of to a local process via JNI.

And everyone here HATEs doing installers  (because all Installers seem to be painful to deal with), so it's not like we want to do it all over again just to save some bytes in the download...  well I want to, so long as it isn't me doing it Smiley

Can I pack/unpack the JARs from a JRE install without hosing anything? (e.g. they are signed, right?)

That also means if Sun adds a new JAR to the mix in Java 6, then I have to tweak everything all over again or have some obscure bug because a class is missing and it isn't found until some weird user tries something dumb.

I think this is really a job for the Install Anywhere folks.

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

BurntPizza (28 views)
2015-10-08 03:11:46

BurntPizza (16 views)
2015-10-08 00:30:40

BurntPizza (19 views)
2015-10-07 17:15:53

BurntPizza (32 views)
2015-10-07 02:11:23

KaiHH (37 views)
2015-10-06 20:22:20

KaiHH (16 views)
2015-10-06 19:41:59

BurntPizza (32 views)
2015-10-06 19:04:48

basil_ (46 views)
2015-09-30 17:04:40

shadowstryker (24 views)
2015-09-29 15:55:06

TheSpaceHedgehog (31 views)
2015-09-29 01:58:48
Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11

Rendering resources
by Roquen
2015-08-17 12:42:29

Rendering resources
by Roquen
2015-08-17 09:36:56

Rendering resources
by Roquen
2015-08-13 07:40:51

Networking Resources
by Roquen
2015-08-13 07:40:43

List of Learning Resources
by gouessej
2015-07-09 11:29:36 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‑
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!