Hi!
I am following the steps of Developer Guide: Setting up an IDE · openremote/openremote Wiki · GitHub
janos@freya-pc:~/custom-project$ chmod +x gradlew
janos@freya-pc:~/custom-project$ ./gradlew eclipse
Downloading https://services.gradle.org/distributions/gradle-7.3.1-bin.zip
…
Welcome to Gradle 7.3.1!
Here are the highlights of this release:
- Easily declare new test suites in Java projects
- Support for Java 17
- Support for Scala 3
For more details see Gradle 7.3.1 Release Notes
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred evaluating project ‘:deployment’.
java.lang.StackOverflowError (no error message)
- 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.
BUILD FAILED in 33s
janos@freya-pc:~/custom-project$ ./gradlew eclipse --warning-mode all
Configure project :
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 8.0. JFrog announced JCenter’s sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: Upgrading your build from Gradle 6.x to the latest
at project_eqj9nclu4anyxq4c2lhu53yv3$_run_closure5.doCall(/home/janos/custom-project/openremote/project.gradle:145)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Configure project :openremote:manager
Using force on a dependency has been deprecated. This is scheduled to be removed in Gradle 8.0. Consider using strict version constraints instead (version { strictly … } }). Consult the upgrading guide for further information: Upgrading your build from Gradle 5.x to 6.0
at build_6u6e42mevqxj8ydhheninc19y$_run_closure1$_closure5.doCall(/home/janos/custom-project/openremote/manager/build.gradle:25)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
FAILURE: Build failed with an exception.
janos@freya-pc:~/custom-project$
- What went wrong:
A problem occurred evaluating project ‘:deployment’.
java.lang.StackOverflowError (no error message)
- 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 1s
janos@freya-pc:~/custom-project$ java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
janos@freya-pc:~/custom-project$ java -version
openjdk version “18.0.2-ea” 2022-07-19
OpenJDK Runtime Environment (build 18.0.2-ea+9-Ubuntu-222.04)
OpenJDK 64-Bit Server VM (build 18.0.2-ea+9-Ubuntu-222.04, mixed mode, sharing)
janos@freya-pc:~/custom-project$
Please advise!
Thanks, Janos