I am trying to write a java program which will receive an exe as byte stream and store it in a byte array and this byte array should be executed directly.
The byte array cannot be written to a file because the java program is being run on a system booted from the pen drive.
Update 1: The system is used for a variety of purposes by running different executables and all of them cannot be stored on the machine.