Public bug reported: Just tried the proposed Gradle package on Ubuntu 18.04 LTS. As I cannot yet use OpenJDK 11, I switched all Java alternatives back to OpenJDK 8 using
sudo update-java-alternatives -s java-1.8.0-openjdk-amd64 Now, when I try to build my project I get the above generic error. Full console output: $ gradle --no-daemon clean installDebug To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.4.1/userguide/gradle_daemon.html. FAILURE: Build failed with an exception. * What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.4.1/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- FAILURE: Build failed with an exception. * What went wrong: java.lang.ExceptionInInitializerError (no error message) * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: gradle 4.4.1-5~18.04 ProcVersionSignature: Ubuntu 4.18.0-16.17~18.04.1-generic 4.18.20 Uname: Linux 4.18.0-16-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.5 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat Mar 16 11:56:15 2019 EcryptfsInUse: Yes InstallationDate: Installed on 2016-04-21 (1058 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) PackageArchitecture: all SourcePackage: gradle UpgradeStatus: Upgraded to bionic on 2018-04-26 (323 days ago) ** Affects: gradle (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic package-from-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1820389 Title: java.lang.ExceptionInInitializerError (no error message) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gradle/+bug/1820389/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs