Originally posted by Stefan Wagner:
Which will not ignore comments or empty lines - just count lines of *.java-files.
It will work on most linuxes out of the box, while you need UnxUtils for the Win32 platform.
http://unxutils.sourceforge.net/
That said, I like to toot into Stans and Ricks horn.
Programmers, who are aware of code-metrics might change from coding for elegance to coding for many lines, making heavy use of cut'n'paste instead of codereuse and useless noise.