You need to study how viruses work first, then look at how existing antivirus programs work. Its not easy, and needs a really deep understanding of the operating system.
In any case, Java is completely the wrong tool for this job. It's designed to be independent of any one operating system, and provides a protected enclosed vistual machine for your program. Your anitvirus will need to dig deep into the running operating system and file systems to look for hidden viruses. This is one of those rare cases where C (or maybe C++) is almost certainly your best option.
First, you shall NEVER even consider making a malware removal application in Java. Java is not good and is not meant to be used to create such software. The reason for this is, that Java can't "dig down" into the system like more low level programming languages can. Instead programming languages such as, ASM, C and C++ would be elementary to create such tool.
Second, you haven't mentioned which operating system you want to create this tool for? Since the majority of people in here uses Windows I will answer from the perspective that you uses it too.
Before even starting on the process of programming, you should look into how malware behaves and where it hides. You should get really comfortable with the Windows Registry and know about every single part of the operating system. Creating a tool to remove malware is a REALLY and I mean REALLY big process.
Given your initial question, you should probably give up trying to write any malware removal software as if you'd have even the most rudimentary knowledge about such you'd have known Java is not an appropriate choice to implement it.
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...
OK, so HostGator for some reason no longer allows gcc/g++ access unless you have a Designated Server account, which is a lot of money to spend just to compile my "Hello World" program. Thus I figured I'd compile at home, then upload. Program is your regular old bare-bones Hello World ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.