The error that I am getting is not due to java being old, I am running 1.8
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) Client VM (build 25.291-b10, mixed mode, sharing)
Exception in thread "main" java.lang.NoSuchMethodError: java.io.FileWriter.<init>(Ljava/io/File;Ljava/nio/charset/CharsetV
at pl.qus.wolin.MainKt.saveJson(Main.kt:133)
at pl.qus.wolin.JsonDbFile.save(JsonDbFile.kt:17)
at pl.qus.wolin.Main.main(Main.kt:960)
It looks like you are trying to pass a charset into the constructor for FileWriter, and there is no constructor that takes that (https://docs.oracle.com/javase/8/docs/api/java/io/FileWriter.html)
This might be caused by my computer having a non-US language set?
is your source available on github or something?
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) Client VM (build 25.291-b10, mixed mode, sharing)
Exception in thread "main" java.lang.NoSuchMethodError: java.io.FileWriter.<init>(Ljava/io/File;Ljava/nio/charset/CharsetV
at pl.qus.wolin.MainKt.saveJson(Main.kt:133)
at pl.qus.wolin.JsonDbFile.save(JsonDbFile.kt:17)
at pl.qus.wolin.Main.main(Main.kt:960)
It looks like you are trying to pass a charset into the constructor for FileWriter, and there is no constructor that takes that (https://docs.oracle.com/javase/8/docs/api/java/io/FileWriter.html)
This might be caused by my computer having a non-US language set?
is your source available on github or something?