运行 jasmin 汇编器获取 .class 文件并将其转换为 java

Run jasmin assembler to get .class files and convert it to java

我在项目的终端中 运行 这个命令(在 IntelliJ idea 中)并且我已经包含了 jasmin.jar 库。 根据 Jasmin 的 this 文档,它应该位于 /tmp/mypackage/MyClass.class. 但是我没有看到任何包裹。

 java -jar jasmin.jar -d /tmp *.j
HelpLoader loading...
looks like you are starting from a jar-package
+ 199   help text(s) from:      /Users/apple/repos/Phase 4/jasmin/Jasmin.jar
looks like you are starting from a jar-package
language found: en
... done

looks like you are starting from a jar-package
HelpLoader reloading...
but the same language all over again? nope!
HelpBrowser: openURL jar:file:/Users/apple/repos/Phase%204/jasmin/Jasmin.jar!/jasmin/gui/resources/Welcome.htm
HelpBrowser: openURL jar:file:/Users/apple/repos/Phase%204/jasmin/Jasmin.jar!/jasmin/gui/resources/Welcome.htm#openFile
CommandLoader loading...
looks like you are starting from a jar-package
+ 232   command(s) from:        file:/Users/apple/repos/Phase%204/jasmin/jasmin.jar
... done with jars

The command FCHS has no context help file!
The command FLD has no context help file!
The command INTO has no context help file!
The command FDIVRP has no context help file!
The command FSQRT has no context help file!
The command FLDLN2 has no context help file!
The command FMULP has no context help file!
The command FIDIV has no context help file!
The command FSINCOS has no context help file!
The command FDIV has no context help file!
The command FSUBR has no context help file!
The command FSUBP has no context help file!
The command FST has no context help file!
The command FLDL2T has no context help file!
The command FLDPI has no context help file!
The command FCOS has no context help file!
The command FLDL2E has no context help file!
The command FABS has no context help file!
The command FDIVR has no context help file!
The command FDIVP has no context help file!
The command FSUBRP has no context help file!
The command FISUBR has no context help file!
The command FLDZ has no context help file!
The command FISUB has no context help file!
The command FSIN has no context help file!
The command FIMUL has no context help file!
The command FLDLG2 has no context help file!
The command FLD1 has no context help file!
The command FNOP has no context help file!
The command FSUB has no context help file!
The command FMUL has no context help file!
The command FIDIVR has no context help file!
The command FSTP has no context help file!
looks like you are starting from a jar-package
HelpLoader reloading...
but the same language all over again? nope!

知道这是如何工作的吗?

原来 Jasmin 有不同的 jar 文件。 运行 另一个解决了这个问题。