Skip to content

cant compile #476

@PROishacking-glitch

Description

@PROishacking-glitch

pls help

Microsoft Windows [Version 10.0.22621.160]
(c) Microsoft Corporation. All rights reserved.

C:\Users\ado>cd C:\Users\ado\Dropbox\PC\Desktop\java\Launcher-master

C:\Users\ado\Dropbox\PC\Desktop\java\Launcher-master>gradlew build
Downloading https://services.gradle.org/distributions/gradle-7.4.2-bin.zip
...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%

Welcome to Gradle 7.4.2!

Here are the highlights of this release:
 - Aggregated test and JaCoCo reports
 - Marking additional test source directories as tests in IntelliJ
 - Support for Adoptium JDKs in Java toolchains

For more details see https://docs.gradle.org/7.4.2/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :

*******************************************
 You are building SKCraft Launcher!

 Output files will be in [subproject]/build/libs
*******************************************


> Task :launcher:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':launcher:compileJava'.
> Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_333 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.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 31s
3 actionable tasks: 3 executed

C:\Users\ado\Dropbox\PC\Desktop\java\Launcher-master>gradlew build

> Configure project :

*******************************************
 You are building SKCraft Launcher!

 Output files will be in [subproject]/build/libs
*******************************************


> Task :launcher:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':launcher:compileJava'.
> Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_333 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.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6s
3 actionable tasks: 1 executed, 2 up-to-date

C:\Users\ado\Dropbox\PC\Desktop\java\Launcher-master>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions