Monday, February 9, 2015

how to fix org.gradle.tooling.buildexception: could not run build action using gradle distribution in netbeans

On Windows I tried below two but nothing worked.
Java Control Panel / Java / Java Runtime Settings / View / User / Runtime Parameters -Dfile.encoding=UTF-8
set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
Java Console still prints out
file.encoding = MS949

Environment Variables may be? –  R.J Mar 21 '13 at 7:28
    
What is about running jconsole -J-Dfile.encoding=UTF-8 ? –  PeterMmm Mar 21 '13 at 8:00

2 Answers

Maybe you nedd a global JVM option:
try to add JAVA_OPTSto you windows environment.
set JAVA_OPTS=-Dfile.encoding=UTF-8 %JAVA_OPTS%

No comments: