Запустите ассемблер jasmin, чтобы получить файлы .class и преобразовать их в java - PullRequest
0 голосов
/ 06 января 2020

Я запускаю эту команду в терминале моего проекта (в идее IntelliJ), и я уже включил библиотеку jasmin.jar. Согласно этому документу Jasmin, он должен находиться в /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!

Есть идеи, как это работает?

1 Ответ

0 голосов
/ 09 января 2020

Оказывается, есть разные jar файлы для Jasmin. Запуск другого исправил проблему.

...