I'm working on a CentOS 6.3 x86_64 minimal OS (installed using the netinstall ISO).This system is not expected to run anything beyond console apps/services and Tomcat7. When I attempt to install OpenJDK 1.7, it lists some x11 packages as dependencies. For my purpose, not even awt is needed. And therefore, if possible, I would like to avoid installing all the fonts, x11, etc.Does there exist a Java/JRE version that comes without the UI pieces?
Minimal Java installation for Linux with no GUI
java;headless
I don't know CentOS, but usually their is an OpenJDK -headless package in distributions that doesn't include GUI components, and normally no dependencies to X11 packages.For instance debian provide one package and ArchLinux too. If your distribution doesn't include it, you can maybe have a look at these to see how it is build.