[
https://issues.apache.org/jira/browse/NETBEANS-3322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16964983#comment-16964983
]
Laszlo Kishalmi commented on NETBEANS-3322:
-------------------------------------------
The 11.2 tries to support the org.gradle.jvmargs property in your project. It
does not do quote processing, that's probably a bug if Gradle eats the quoted
args and NetBeans do not.
So just remove the quotes like this: org.gradle.jvmargs=-Dfile.encoding=UTF-8
and your project would be fine.
BTW, AFAIK if not specified otherwise Gradle starts its daemon with UTF8 file
encoding set.
> Cannot build Gradle project with new 11.2 NetBeans version
> ----------------------------------------------------------
>
> Key: NETBEANS-3322
> URL: https://issues.apache.org/jira/browse/NETBEANS-3322
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Gradle
> Affects Versions: 11.2
> Reporter: Eugene Pliskin
> Assignee: Laszlo Kishalmi
> Priority: Blocker
>
> 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'
> ...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists