Mark Ashdown QR Code - scan with phone

Mark Ashdown

Other software

Self-reproducing Java

After seeing some nice examples in other languages, I decided to write a self-reproducing program in Java. Here is a batch script to compile and run the program on Windows. The first time you run it, it will strip off the comment and line breaks, to make a single-line program. Then you can keep rerunning it and it will reproduce itsef exactly.