Build Failed in Ubuntu 16.04.4 LTS
WendySanarwanto opened this issue · comments
Please answer these questions before submitting your issue. Thanks!
-
What did you do?
When I followed instruction onREADME.md
file for building the source by running./gradlew build
, the build process was ended as BUILD FAILED -
What did you expect to see?
The build process should be ended as successful.
https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04
Install the 1.8 jdk its a dependency issue the error comes from a function that has been deprecated in the latest java version.
Hi @AydenRennaker,
I've followed your suggestion by installing Oracle JDK 8
, replacing my OpenJDK 8
, and then re-ran the build. The build's outcome is SUCCESS
. I will edit the README.md
file to tell the reader that they should use Oracle JDK 8
over OpenJDK 8
so that they won't get failing build.
Cheers.
I suggest installing openjfx
using sudo apt-get install openjfx
instead of forcing users to install Oracle JDK 8 as the issue is related to missing JavaFX package. See https://stackoverflow.com/a/19529820.
Hi @lacasseio ,
Thanks for your feedback. I will retest your suggestion and will get back with the result.
Real pain to work with Oracle JDK now as it always been, any new words on the dependency on it? I would really like to go for at least OpenJDK being officially supported...
I managed to compile on Fedora with OpenJDK and OpenJFX, I just installed distro packages and build with the gradle. Just wanted to let you know Oracle JDK is not necessary.
Not related to Ubuntu though, sorry, just think this info can be useful to someone else.
Or you could use zulu-javafx
with asdf
asdf install java zulu-javafx-8.58.0.13
asdf global java zulu-javafx-8.58.0.13
./gradlew build