What Java SE components can be removed?
Some parts of the Java SE API are sufficiently isolated from the rest and can be removed altogether if the application does not use them. The following components are supported by Java Runtime Slim-Down: AWT/Java2D, CORBA, JDBC, JNDI, JSound, Management, RMI, Swing, XML, and Scripting (Rhino Javascript engine in Java 6).