I hope what I'm asking for isn't wrong. I've read many, many posts on this topic already, so I have an idea of the controversy. Anyway I am making a game where I can go the new JET 4.0 or try to "condense" the JRE. JET is now Java 1.5 certified so thats good, but the final install will be about 20+ megs. I want to experiment with the Java 1.5 JRE to get the game at least half-size. I was wondering if there was a solid tutorial (step by step) on where/how/which parts to take out and what must be left in. I know about "rt.jar" but is there anything else? Also specific Molebox settings to get it working properly. It didn't seem like Molebox could put any folders, so how do I add all those JRE subfolders?

My game is all software rendered, with 3rd party Joystick (JStick I think) and GAGETimer. It goes fullscreen and windowed (needs AWT?).

Is there an un-moleboxed, stripped JRE game out there where I can pry into. Also can someone post instructions on exactly what to take out and leave in, and anything else that needs to be known to do it?

I took out almost everything outside of java.lang, java.net, and java.io - and I specially left in RMI too which is useful for so many things. The way I did it was run the game with verbose class load on, and then painstakingly went through rt.jar removing all the classes that weren't in the list it printed out.

Ahh, there's a bit more to it than that... there were some extra classes required by different locales which you don't pick up doing it that way - so bang! It crashes in a Spanish locale. And I wanted a VM I could reuse a bit without having to do it for every game (at the expense of a few hundred kb) with a few things I didn't always directly use.

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