I have a server with centos that was used to run a .jsp application. Now I need the server for plain hosting with directadmin so I want you to either remove the java stuff (I'm not sure what's installed) and apache, or simply reinstall the OS so it's ready for installation of directadmin (you don't need to do this). So it's basically either uninstalling the java stuff or making a fresh installation of centos, whichever you prefer.