Code 2 HTML

If you want to generate a syntax highlighted HTML file from your Java source code, you can use this program. Currently it only supports Java, but you can change the rules files yourself to support other languages. However, it will only detect comments of the type // or /* */. It has a known issue with strings that have one of the comment starting character combinations in them, because it detects them as comment begins.

Download the source code.
Download the binary.

This program and its source code is licensed under the BSD 2-Clause license.

Last updated sometime in 2006.