Java run class from JarInputStream
===

I have a JarInputStream (Reads from crypted file in memory so I have to do this) 

I need to run lets say Main.class in that jarinputstreams entries.

So basically how can I run classes from a jar input stream? I cant use URLClassLoader, it has to be this