So, can we? Or can't we?

Started by elias4444, January 10, 2006, 19:54:19

Previous topic - Next topic

elias4444

Ok, I've gotta find something I can do here. My games are all around 5 to 8 megabytes in size. After adding the Sun JVM however, they become 20 to 25 megabytes in size (and thats only because I use heavy compression). So, really, can we cut out the parts of the JVM we don't use? Or do we honestly have to leave the JVM as is in order to comply with Sun's licensing terms?
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

elias4444

Drats, just found a previous post that answered my question (both times.  :P )
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

elias

Are you using 7zip to compress your game? I found that the difference between TT without the JVM and TT with the JVM was around 10 megs. YMMV, of course.

- elias

elias4444

I am using 7zip, and it adds about 15mb to the package for me (although I know there are a few things I can still take out of the JVM according to the license in order to widdle it down to 10mb). The problem is, my games are only like 5 to 8 mb, so the JVM is sometimes tripling the size of my distribution, and I'm the one paying for the bandwidth on downloads. :(

I've been looking at different options, although I really like some of the advantages that Java offers (not having to compile to system specific optimizations is one BIG one).
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

princec

Technically and possibly legally no you can't do this.

But you can, if you try ;)

Firstly try removing awt.dll and see if your game still runs. From there it's a matter of just removing everything you can and the game still running...

... then buy Molebox and hide all your naughtiness away and no-one need be any the wiser.

Cas :)

elias4444

I'd love to do that... but being in the USA, litigation is always just one door down.  :P
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

Matzon

funny AND sad at the same time :/

the2bears

Check out the "Java Internal Use License (JIUL)" for this, there may be some room to wiggle here.  It's intended (IMO) to allow fixing a bug in a JVM and distributing that JVM if all parties are signatories of the JIUL.  

IANAL, nor do I ever want to be one :)

Bill
the2bears - the indie shmup blog

princec

Sadly the wording about the JIUL pretty much explicitly forgoes what we want to do here.

But Molebox on the other hand pretty much hides all the evidence in a way which might be very difficult to circumvent under the DCMA :D

Cas :)

Whackjack

So... you'd be violating a license, but it couldn't be discovered without breaking a law...

Interesting way to abuse the system  :P