I want a Java library that will do code syntax highlighting just like Pygments does. I am not using Pygments because it's written in Python and I want a Java library. I know that Pygment can be used in Java (with the help of Jython) but still curious to know whether there are any alternatives.