I wanted to know if there was a way, or a tool available, to output java source into a pdf that has syntax highlighting available?
4 Answers
GNU Enscript does what you want. It produces postscript files that can then be converted to PDF.
Comments
Kate also allows you to print code with colour, so assuming you have some kind pdf printer software installed, it can print directly to pdf. It has customisable syntax highlighting for lots of different languages, including Java.