No, it has no sense to write antivirus in Java. This question was discussed on different forums.