How can I include line numbers in Java source code? -


I am at the peak of my final year's programming project, which is written in Java (the use of the Wicket Web Framework By) With each line, the source code (on the CD) should be clearly listed to the testers. I know that in Eclipse you can make number of lines of code, but of course it will only work if the person who sees the code uses eclipse, is there any way to include the line number in the source code? If so, then how?

You can use cat to do this >

  cat -n input .java & gt; Output.name    

Comments