I'm having trouble trying to compile on Gentoo. Using openjdk-bin-11, ghidra-9.1.2 and gradle-6.3.
$ env GHIDRA_INSTALL_DIR=/usr/share/ghidra gradle-6.3 buildExtension -g gradle-user-home
> Task :compileJava FAILED
/spare/home/lucas/ghidra_psx_ldr/src/main/java/pat/PatParser.java:12: error: cannot access DisassembleCommand
import ghidra.app.cmd.disassemble.DisassembleCommand;
^
bad class file: /usr/share/ghidra/Ghidra/Features/Base/lib/Base.jar(ghidra/app/cmd/disassemble/DisassembleCommand.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings
I'm having trouble trying to compile on Gentoo. Using openjdk-bin-11, ghidra-9.1.2 and gradle-6.3.