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 fails #80

Open
MusicMaker opened this issue May 28, 2024 · 0 comments
Open

Build fails #80

MusicMaker opened this issue May 28, 2024 · 0 comments

Comments

@MusicMaker
Copy link

Ubuntu 23.10 default install

./gradlew build

Task :compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileJava'.

Could not find tools.jar. Please check that /usr/lib/jvm/java-8-openjdk-amd64 contains a valid JDK installation.

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

BUILD FAILED in 738ms
1 actionable task: 1 executed

java -version
openjdk version "1.8.0_402"
OpenJDK Runtime Environment (build 1.8.0_402-8u402-ga-2ubuntu1~23.10.1-b06)
OpenJDK 64-Bit Server VM (build 25.402-b06, mixed mode)

ll /usr/lib/jvm
total 52
drwxr-xr-x 8 root root 4096 Mar 19 09:47 ./
drwxr-xr-x 157 root root 12288 May 26 11:05 ../
lrwxrwxrwx 1 root root 25 Jan 12 2023 default-java -> java-1.17.0-openjdk-amd64/
lrwxrwxrwx 1 root root 21 Jul 22 2022 java-1.11.0-openjdk-amd64 -> java-11-openjdk-amd64/
-rw-r--r-- 1 root root 2047 Jan 20 18:27 .java-1.11.0-openjdk-amd64.jinfo
lrwxrwxrwx 1 root root 21 May 6 2023 java-1.17.0-openjdk-amd64 -> java-17-openjdk-amd64/
-rw-r--r-- 1 root root 1773 Jan 17 19:09 .java-1.17.0-openjdk-amd64.jinfo
drwxr-xr-x 9 root root 4096 Feb 28 10:36 java-11-openjdk-amd64/
drwxr-xr-x 9 root root 4096 Feb 28 10:36 java-17-openjdk-amd64/
lrwxrwxrwx 1 root root 20 Jul 24 2022 java-1.8.0-openjdk-amd64 -> java-8-openjdk-amd64/
-rw-r--r-- 1 root root 2670 Feb 27 22:37 .java-1.8.0-openjdk-amd64.jinfo
drwxr-xr-x 5 root root 4096 Aug 27 2022 java-8-openjdk-amd64/
drwxr-xr-x 9 10668 10668 4096 Aug 27 2022 jdk-18/
drwxr-xr-x 2 root root 4096 Feb 28 10:36 openjdk-11/
drwxr-xr-x 2 root root 4096 Feb 28 10:36 openjdk-17/

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