Using v0.9.0, ./gradlew :datahub-frontend:dist <@...
# all-things-deployment
f
Using v0.9.0, ./gradlew datahub frontenddist @dazzling-judge-80093 env:
Copy code
shdzh-mbp-1:datahub shdzh$ java -version
openjdk version "1.8.0_345"
OpenJDK Runtime Environment (build 1.8.0_345-bre_2022_08_04_23_35-b00)
OpenJDK 64-Bit Server VM (build 25.345-b00, mixed mode)

shdzh-mbp-1:datahub shdzh$ gradle -v

------------------------------------------------------------
Gradle 7.5
------------------------------------------------------------

Build time:   2022-07-14 12:48:15 UTC
Revision:     c7db7b958189ad2b0c1472b6fe663e6d654a5103

Kotlin:       1.6.21
Groovy:       3.0.10
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          1.8.0_345 (Homebrew 25.345-b00)
OS:           Mac OS X 12.5.1 x86_64
err info:
Copy code
> Task :datahub-frontend:compileScala
[Error] /Users/shdzh/work/source/0.9/datahub/datahub-frontend/app/auth/AuthModule.java:8:33:  error: cannot access Actor
javac exited with exit code 1

> Task :datahub-frontend:compileScala FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':datahub-frontend:compileScala'.
> javac returned non-zero exit code

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

BUILD FAILED in 36s
70 actionable tasks: 17 executed, 53 up-to-date
s
Gentle reminder to please post large blocks of code/stack trace in Slack message threads - it’s a HUGE help for the Core Team to keep track of which questions are still unaddressed across our various support channels!
In
0.9.0
we moved to JDK 11. So please attempt to do the build using JDK 11 not JDK 8
f
Both JDKs have been tried. When using jdk11, the log says that 11 is not supported, and then switches to jdk8
s
What system are you using? What is the exact command that you are running.
Also Gentle reminder to please post large blocks of code/stack trace in Slack message threads - it’s a HUGE help for the Core Team to keep track of which questions are still unaddressed across our various support channels!
s
Switch to java 11 works for me.