Well I reinstalled java and netbeans works! Thank you so much for being patient and helping me out.
So if I want to use xml parsing utilities from j2ee I don't have to install a j2ee version of java?
But what if I want to later on use eclipse for the project and decide I still want to use those
j2ee libraries, is it possible that I can install the j2ee library jdk bundle and still be able
to run both ides? Or will that mess up netbeans?
I guess it was the JDK that was corrupted, not netbeans, interesting. Btw after installing
java again I first removed the JAVA_HOME, and then added it after I reinstalled it, that's ok,