Originally posted here by The Grunt
To my knowledge there is no AV software that scans linux machines for viruses. All I have seen is AV software that runs on linux that checks all the other win boxes on a network or scans emails for viruses (mailserver).
Kaspersky Anti-Virus. They have it for linux servers, primarily Mail and File servers, but it can be configured to scan the entire machine for viruses.

Oh, and you can also write portable C in mind. For almost any language being ported to multiple platforms this has to be kept in mind -- even with Java, although Java has tools that way ease portability.