We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 694c8e0 + dc2fd47 commit a5f6745Copy full SHA for a5f6745
lib/grammars/java.coffee
@@ -19,7 +19,7 @@ module.exports =
19
sourcePath = GrammarUtils.Java.getProjectPath context
20
if windows
21
return ["/c javac -Xlint #{context.filename} && java #{className}"]
22
- else ['-c', "javac -sourcepath '#{sourcePath}' -d /tmp '#{context.filepath}' && java -cp /tmp #{classPackages}#{className}"]
+ else ['-c', "javac -J-Dfile.encoding=UTF-8 -sourcepath '#{sourcePath}' -d /tmp '#{context.filepath}' && java -Dfile.encoding=UTF-8 -cp /tmp #{classPackages}#{className}"]
23
}
24
Kotlin:
25
'Selection Based': {
0 commit comments