I want to run a program in memory on Windows. I do not want to write the file to disk. I just want to pass an array of bytes (which is the program I want to execute) as a parameter.
I am not qualified enough to write my own code for this. Again, this should be Windows native.
The program I want to execute in memory is not a Java program. This is an executable file (.exe)! The executable is designed to read and run IN MEMORY, not through Runtime.getRuntime (). Exec ("example.exe");
source share