Is it possible using Windows to read a file into memory (keep data in byte array), delete original file from filesystem and execute it from memory?
EDIT
My goals is to protect my java code from reverse enginering.
I wrote a launcher in C++ that take my encrypted jar file, decrypt it and launch it. The little problem is that i have to write my decrypted jar file somewhere in the filesystem, so it can be easily captured and decompiled... there is no way to prevent this?