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

Could not determine java version from '16.0.2'. #2

Open
nobicycle opened this issue Nov 19, 2021 · 0 comments
Open

Could not determine java version from '16.0.2'. #2

nobicycle opened this issue Nov 19, 2021 · 0 comments

Comments

@nobicycle
Copy link

Hello,

Thank you for fantastic Phoenicia that my 9 year old avid reader started with!

I would like to translate this but am having trouble building on

[user@tower Phoenicia-master]$ uname -a
Linux tower 5.10.70-1-MANJARO #1 SMP PREEMPT Thu Sep 30 15:29:01 UTC 2021 x86_64 GNU/Linux

[user@tower Phoenicia-master]$ java --version
openjdk 16.0.2 2021-07-20
OpenJDK Runtime Environment (build 16.0.2+7)
OpenJDK 64-Bit Server VM (build 16.0.2+7, mixed mode)

[user@tower Phoenicia-master]$ gradle --version


Gradle 7.2

Build time: 2021-08-18 14:41:40 UTC
Revision:

Kotlin: 1.5.21
Groovy: 3.0.8
Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM: 16.0.2 (Oracle Corporation 16.0.2+7)
OS: Linux 5.10.70-1-MANJARO amd64

The problem is:

[user@tower Phoenicia-master]$ ./gradlew  --debug  build
12:04:02.508 [DEBUG] [org.gradle.internal.nativeintegration.services.NativeServices] Unable to load from native-platform backed ConsoleDetector. Continuing with fallback. Failure: net.rubygrapefruit.platform.NativeException: Failed to load native library 'libnative-platform-curses.so' for Linux amd64.
caused by: java.lang.UnsatisfiedLinkError: /home/user/.gradle/native/19/linux-amd64/libnative-platform-curses.so: libncurses.so.5: cannot open shared object file: No such file or directory
12:04:02.515 [ERROR] [org.gradle.BuildExceptionReporter] 
12:04:02.518 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
12:04:02.518 [ERROR] [org.gradle.BuildExceptionReporter] 
12:04:02.519 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
12:04:02.519 [ERROR] [org.gradle.BuildExceptionReporter] Could not determine java version from '16.0.2'.
12:04:02.520 [ERROR] [org.gradle.BuildExceptionReporter] 
12:04:02.521 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
12:04:02.521 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. 

Best wishes

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

No branches or pull requests

1 participant