I use Windows 64 Pro, and program in Java using eclipse. I use Launch4J to take a jar file for a desktop application and convert it to a Windows EXE file so that it can be run by double-clicking the EXE, can be installed, can have an icon, etc. I've used this before successfully on this particular Dell laptop.
I used it recently on another program; when I ran the program I had created with Launch4J, my BitDefender Antivirus popped up a message, saying it had detected malware in the new file and quarantined both copies of it.
I used BitDefender's tools to whitelist the program, being confident that neither my code nor the Java runtime (nor Launch4J) had any malware. Then I could run the program.
I made changes to the program, and attempted to re-generate it with Launch4J. It produced a message I had not seen before, essentially saying "we can't create the file". I deleted the file, and generation produced the same message.
After much futzing, ensuring that I was displaying all files, looking through the command-line interface, etc., I tried using a different filename. That worked.
All I've done since then supports the theory that something is preventing me from creating a file with the original filename in either of the two folders from which BitDefender quarantined it. Creating that file in another folder works fine, but I cannot then copy it into either of those folders.
BitDefender's customer support, which is normally quite good, went back and forth through 4-5 pairs of emails with me and eventually said that they could not detect any malware in the executable. I think a language barrier, or perhaps an attention span, is preventing them from understanding what my problem is.
I wouldn't even know how to produce this effect if I wanted to. Can anyone point me towards anything that would cause this, or correct this now that it's been caused?