Compile java source code from string and save output to stream instead of a file

Viewed 201

Hey I wanted to know if it is possible to compile java source code that is saved in a string and get and output stream of the bytecode without writing it into a file.

If yes, I'd love to know how and it would save me a lot of time as I couldnt find anything helpful so far.

Thanks alot!

0 Answers
Related