Haskell Fun Haskell Fun - 1 year ago 97
Java Question

Executing code generated by javap -c

Lets consider following scenario:

javap -c Test.class > bytecodeTest

How to execute content of

Answer Source

You could write a program to rebuild the byte code from this output, but I don't know of any.

Usually you would use a decompiler if you wanted to compile it later. A decompiler is designed to produce an output which can be compiled. Intellij's built in decompiler is pretty good and even handles lambdas.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download