lab313ru / ghidra_psx_ldr

Sony Playstation PSX executables loader for GHIDRA
231 stars 31 forks source link

Build issue #35

Closed lucasmr closed 4 years ago

lucasmr commented 4 years ago

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
lab313ru commented 4 years ago

What is your exact JDK 11 version?

lucasmr commented 4 years ago

Forgive me, I had to set both system and user java-vm to point to openjdk-11.