OK,
if it was possible to make the JRE modular for a Java2D based game that doesn’t do networking (apart webstart), I was wondering if there were problems to have that special JRE by removing the following packages?
- java.applet
- java.rmi.*
- java.sql
- javax.accessibility
- javax.activity
- javax.management.*
- javax.naming.*
- javax.print.*
- javax.rmi.*
- javax.sql.*
- org.omg.*
I’m sure many of you would be tempted to remove javax.swing.* too be you have to realize that Swing can be really helpful to build game UIs.
And assuming a game can reuse an already installed JRE but needs some of the missing packages then it could invoke commands via a standard API to request the required ones from Sun’s server.
I’m just curious about the possibility of doing this.