Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3322

org.gradle.jvmargs does not handle quotes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.2
    • 11.3
    • projects - Gradle
    • None

    Description

      Just installed new 11.2 NetBeans with Windows 64 installer. During installation I have agreed to importing plugins and settings from my old NetBeans version 11.1. Workspace contains a Gradle project. This project is in healthy state, and I can build it with old NetBeans 11.1.

      But in the new version NetBeans 11.2 I have the following error messages when opening or building this project:

       
      org.gradle.api.GradleException: Unable to start the daemon process.
      This problem might be caused by incorrect configuration of the daemon.
      For example, an unrecognized jvm option is used.
      Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/5.2.1/userguide/gradle_daemon.html
      Please read the following process output to find out more:
      -----------------------
      **Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
      Error: Could not find or load main class '-Dfile.encoding=UTF-8'**
      Caused by: java.lang.ClassNotFoundException: '-Dfile.encoding=UTF-8'
      ...

      Attachments

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              eugene-p Eugene Pliskin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: