Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failed in Ubuntu 16.04.4 LTS #337

Closed
WendySanarwanto opened this issue Mar 31, 2018 · 7 comments
Closed

Build Failed in Ubuntu 16.04.4 LTS #337

WendySanarwanto opened this issue Mar 31, 2018 · 7 comments
Labels
topic: Build compile error, jitpack

Comments

@WendySanarwanto
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    When I followed instruction on README.md file for building the source by running ./gradlew build, the build process was ended as BUILD FAILED

  2. What did you expect to see?
    The build process should be ended as successful.

  3. What did you see instead?
    image

My environment settings:
image

@AydenRennaker
Copy link

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.

@WendySanarwanto
Copy link
Contributor Author

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.

@lacasseio
Copy link

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.

@WendySanarwanto
Copy link
Contributor Author

Hi @lacasseio ,

Thanks for your feedback. I will retest your suggestion and will get back with the result.

@jiangyy0824 jiangyy0824 added the topic: Build compile error, jitpack label Aug 2, 2019
@vniche
Copy link

vniche commented Sep 9, 2019

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...

@gen2brain
Copy link

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.

@fahrinh
Copy link

fahrinh commented Nov 21, 2021

Or you could use zulu-javafx with asdf

  1. asdf install java zulu-javafx-8.58.0.13
  2. asdf global java zulu-javafx-8.58.0.13
  3. ./gradlew build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: Build compile error, jitpack
Projects
None yet
Development

No branches or pull requests

8 participants
@gen2brain @fahrinh @AydenRennaker @vniche @jiangyy0824 @WendySanarwanto @lacasseio and others