Closed
Description
Can't run kaitai on JDK 8 or you get this exception:
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at io.kaitai.struct.ByteBufferKaitaiStream.seek(ByteBufferKaitaiStream.java:153)
at com.example.MicrosoftCfb.dir(MicrosoftCfb.java:413)
at com.example.MicrosoftCfb.print(MicrosoftCfb.java:434)
at com.example.MicrosoftCfb.main(MicrosoftCfb.java:430)
Please build with --release 8
to avoid this problem.
The problem is described in more detail here.