I'm attempting to install OpenJDK7 on my server, and noticed it was pulling in a lot of xorg dependencies. Which makes sense, many java programs are graphical. But as this is a server, with no graphical front-end, I was curious if there was a way to install it without pulling in those dependencies? Or do we just deal with having xorg libraries installed if we want to run java applications?
After further searching, I found jre7-openjdk-headless, which appears to be exactly what I wanted.