What is the best way to execute a method stored in a jar, with the jar in the form or a byte array. I don't want to however write the bytes to a file or a temp file, I just want to run it from the byte array itself (if it is possible)
Asked
Active
Viewed 56 times
1
-
2Possibly related: [Loading a JAR dynamically from memory](https://stackoverflow.com/q/28964450) – Pshemo Aug 19 '18 at 13:30
-
Refer this : https://stackoverflow.com/questions/45212086/how-to-convert-a-bytearray-to-jar – Ashraff Ali Wahab Aug 19 '18 at 13:31
-
@Pshemo with a bit of change i was able to execute using the second answer thanks – Racing121 Aug 19 '18 at 15:44