Cannot run kotlinc

Hello everyone. I want to run kotin on VSCODE. After I installed kotlinc, the following error appeared when I ran the kotlinc -version command:

kotlinc-jvm -version
info: kotlinc-jvm 1.3.31 (JRE 1.8.0_181-_2018_10_18_16_01-b00)
exception: java.lang.ExceptionInInitializerError
at sun.nio.fs.Util.split(Unknown Source)
at sun.nio.fs.WindowsFileSystem.(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.nio.fs.DefaultFileSystemProvider.(Unknown Source)
at java.nio.file.FileSystems$DefaultFileSystemHolder.getDefaultProvider(Unknown Source)
at java.nio.file.FileSystems$DefaultFileSystemHolder.access$000(Unknown Source)
at java.nio.file.FileSystems$DefaultFileSystemHolder$1.(Unknown Source)
at java.nio.file.FileSystems$DefaultFileSystemHolder$1.(Unknown Source)
at java.security.AccessController.(Unknown Source)
at java.nio.file.FileSystems$DefaultFileSystemHolder.defaultFileSystem(Unknown Source)
at java.nio.file.FileSystems$DefaultFileSystemHolder.(Unknown Source)
at java.nio.file.FileSystems.getDefault(Unknown Source)
at java.nio.file.Paths.get(Unknown Source)
at org.jetbrains.kotlin.cli.jvm.plugins.ServiceLoaderLite.loadImplementations(Unknown Source)
at org.jetbrains.kotlin.cli.jvm.plugins.PluginCliParser.loadPlugins(Unknown Source)
at org.jetbrains.kotlin.cli.jvm.plugins.PluginCliParser.loadPluginsSafe(Unknown Source)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.loadPlugins(Unknown Source)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(Unknown Source)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(Unknown Source)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(Unknown Source)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(Unknown Source)
at org.jetbrains.kotlin.cli.common.CLITool.exec(Unknown Source)
at org.jetbrains.kotlin.cli.common.CLITool.exec(Unknown Source)
at org.jetbrains.kotlin.cli.common.CLITool.exec(Unknown Source)
at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit(Unknown Source)
at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMain(Unknown Source)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion.main(Unknown Source)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.main(Unknown Source)
Caused by: java.nio.charset.UnsupportedCharsetException: GBK
at java.nio.charset.Charset.forName(Unknown Source)
at sun.nio.fs.Util.(Unknown Source)
… 33 more

There is also an error in run on VSCODE, does anyone know how to solve it?"

See https://stackoverflow.com/questions/36331128/java8-filesystems-getdefault-throw-unsupportedcharsetexception, looks like installing a different JDK should help.