Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
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 13920 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: 1033
Projects: 3
Exp: 20 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  

EgonOlsen (58 views)
2018-06-10 19:43:48

EgonOlsen (40 views)
2018-06-10 19:43:44

EgonOlsen (60 views)
2018-06-10 19:43:20

DesertCoockie (225 views)
2018-05-13 18:23:11

nelsongames (141 views)
2018-04-24 18:15:36

nelsongames (140 views)
2018-04-24 18:14:32

ivj94 (881 views)
2018-03-24 14:47:39

ivj94 (142 views)
2018-03-24 14:46:31

ivj94 (793 views)
2018-03-24 14:43:53

Solater (157 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!