The build just failed for me. With the --stacktrace
option to gradle
, I got the following error:
Task :freeplane_mac:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':freeplane_mac:compileJava'.
> Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'.
I already have had openjdk 11 installed, and the following command made the build go through:
sudo archlinux-java set java-11-openjdk
Pinned Comments
jose1711 commented on 2019-06-07 21:33 (UTC)
it would be nice if it says somewhere that
archlinux-java
should be set to openjdk (won't compile with oracle java)