When searching the web it is easy to find this way to print out Java bytecode:
http://www.ibm.com/developerworks/ibm/library/it-haggar_bytecode/
What I could not find is if there is a standard representation of Java bytecode as a string and if there is a tool to compile string representation of Java bytecode into binary bytecode.
In .NET the equivalent tool is ilasm.exe. Is there something like this for Java and is it standard?
There are tools to do this but they aren’t part of the standard. You have two options: