I'm trying to use Krakatau to assemble a native Java bytecode, acquired with javap -c
, but I'm getting a weird error:
> python Krakatau/assemble.py Main.bc
Krakatau Copyright (C) 2012-17 Robert Grosse
This program is provided as open source under the GNU General Public License.
See LICENSE.TXT for more details.
Processing file Main.bc, 1/1 remaining
Main.bc:1:1: error: Expected '.class' or '.version'.
Compiled from "Main.java"
I have checked everything on the project's GitHub repository already, but nothing seems to help it. How is it expecting a .class file when I'm using the assembler? Should my bytecode be in some form of Jasmin syntax?