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

FAILURE: Build failed with an exception. #1541

Open
ievsantillan opened this issue Dec 11, 2024 · 1 comment
Open

FAILURE: Build failed with an exception. #1541

ievsantillan opened this issue Dec 11, 2024 · 1 comment
Labels

Comments

@ievsantillan
Copy link

What happened?

A bug happened! Expecting to build and generate sample healthcare data.

Environment

- OS: Windows 11 Version 23H2 (OS Build 22631.4460)
- Java: Java(TM) SE Development Kit 23.0.1 (64-bit)

Relevant log output

Initialized native services in: C:\Users\isantillan\.gradle\native
Initialized jansi services in: C:\Users\isantillan\.gradle\native
Received JVM installation metadata from 'C:\Program Files\Java\jdk-23': {JAVA_HOME=C:\Program Files\Java\jdk-23, JAVA_VERSION=23.0.1, JAVA_VENDOR=Oracle Corporation, RUNTIME_NAME=Java(TM) SE Runtime Environment, RUNTIME_VERSION=23.0.1+11-39, VM_NAME=Java HotSpot(TM) 64-Bit Server VM, VM_VERSION=23.0.1+11-39, VM_VENDOR=Oracle Corporation, OS_ARCH=amd64}
The client will now receive all logging from the daemon (pid: 30916). The daemon log file: C:\Users\isantillan\.gradle\daemon\8.2.1\daemon-30916.out.log
Starting 5th build in daemon [uptime: 1 hrs 52 mins 29.54 secs, performance: 99%, GC rate: 0.00/s, heap usage: 0% of 512 MiB, non-heap usage: 9% of 384 MiB]
Using 16 worker leases.
Now considering [C:\_workspace\synthea] as hierarchies to watch
Watching the file system is configured to be enabled if available
File system watching is active
Starting Build
Compiling settings file 'C:\_workspace\synthea\settings.gradle' using BuildScriptTransformer.

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\_workspace\synthea\settings.gradle' (C:\Users\isantillan\.gradle\caches\8.2.1\scripts\eq815sc5ggso8oebdpx4va26l).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 67

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1s
Watched directory hierarchies: []
@dehall
Copy link
Contributor

dehall commented Dec 11, 2024

Hi, thanks for reporting this. Looks like Java 23 isn't supported by the version of Gradle we're using. We'll try to upgrade that asap, but in the meantime to get synthea working you may want to try a couple things:

  1. Use an earlier version of Java such as Java JDK 17 which is known to work
  2. Use the prebuilt JAR as described here: https://github.com/synthetichealth/synthea/wiki/Basic-Setup-and-Running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants