Well, I mean, how do I read in the image and the archive and putting them together to an image file? Sun has removed the JDK6 tutorial and replaced everything with JDK7, so they removed the docs for it :/
Edit: nvm got it here: http://www.java-examples.com/read-file-using-fileinputstream
Now...