The latest version of Sun Studio, which is a terrible name for something which is a compiler and not an IDE, which has now been re-titled Solaris Studio in an attempt to underscore even more its general uselessness, has added a new antifeature to its installer.
It requires X.
You know one of the things that makes MySQL better than Oracle? You can install it in 5 minutes and you don't have to launch a Java GUI.
You know when it makes sense to launch a Java GUI to install server software?