Code Monkey home page Code Monkey logo

Comments (6)

gnardin avatar gnardin commented on July 24, 2024 1

Fixed. To launch the Scenario Editor using Gradle, use the command ./gradlew scenarioEditor.

from rcrs-server.

gnardin avatar gnardin commented on July 24, 2024

@ffaraji

To investigate what may cause the error, please provide the following list of information

  • Gradle version ($ gradle -version)
  • Execute the sequence of commands below and send the debug log generated by the last command
    $ ./gradlew clean
    $ ./gradlew completeBuild
    $ ./gradlew --debug scenarioEditor
    
  • List of your roborescue directory showing the hidden directories and files ($ ls -la)
  • Java Version ($ java -version)

Thank you,
@gnardin

from rcrs-server.

ffaraji avatar ffaraji commented on July 24, 2024

@gnardin

Screenshot from 2020-06-12 02-12-47

Screenshot from 2020-06-12 02-17-09

Screenshot from 2020-06-12 02-28-15

Screenshot from 2020-06-12 02-30-11

Screenshot from 2020-06-12 02-32-36

from rcrs-server.

gnardin avatar gnardin commented on July 24, 2024

@ffaraji
Thank you for the detailed information.
The error is caused by an incompatibility of Java 14 and Gradle Wrapper 6.1.1.

There are two possible workarounds:

  1. Downgrade your Java to version 13
  2. Change the file gradle-wrapper.properties under the directory gradle/wrapper. Replace
    distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
    by
    distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-all.zip

Kind Regards,
@gnardin

from rcrs-server.

ffaraji avatar ffaraji commented on July 24, 2024

@gnardin
I used java14 and changed the gradle-warper.properties file and Replaced gradle-6.1.1 by gradle-6.4.1.
that works without error.
So we need to solve this problem that which version of java and gradle should be used.
By the way, as I said before, using system gradle to compile works fine but the problem occurs when we use gradlew.

from rcrs-server.

gnardin avatar gnardin commented on July 24, 2024

@ffaraji
Gradle Wrapper was updated to support Java 14.
Can you please check in your environment the fix?

from rcrs-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.