Installing Ghidra Extensions
Requirements
Note that there is a very tight dependency on version chaining here. Double check that your errors aren't related to version support of features.
Java
sudo apt-get install openjdk-<version>-jdk openjdk-<version>-jre
sudo update-java-alternatives -l # Give list of all available java versions
sudo update-java-alternatives -s <openjdk version> # Set the correct java version
Gradle
Go to the gradle site and download their bin package Move the gradle extracted folder to /usr/share/gradle, double check your paths gradle -v should likely be newer than 8
Plugin
Now you can build the plugin, install path for Ghidra is likely /usr/share/ghidra