- I'm building ghidra according to the installation guide. Everything goes fine Until I get here.
- Once I call
$ gradle buildGhidra
I get the following error:
> Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'
This seems weird because I do have java 11:
$ java --version
openjdk 11.0.8 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)
What am I missing?
gradle
was after all the one to blame.gradle-6.7 --version
, without any JAVA_HOME change whatsoever, I got:Which probably "proves" gradle is indeed the one to blame