Hello,
I have a project in JAVA 8, that works just fine.
Now I have to port the jdk from 8 to 11.
So I changed the Java Platform from JDK 1.8 to JDK 11 in the Project Properties.
Debugging works just fine, but when I try clean and build the following Error occurs:
An input/output error occurred.
Consult the following stack trace for details.
java.nio.charset.MalformedInputException: Input length = 1
at java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:181)
at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
at java.base/java.io.BufferedReader.read(BufferedReader.java:182)
at jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.nextToken(CommandLine.java:213)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:131)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
BUILD FAILED (total time: 10 seconds)
Consult the following stack trace for details.
java.nio.charset.MalformedInputException: Input length = 1
at java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:181)
at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
at java.base/java.io.BufferedReader.read(BufferedReader.java:182)
at jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.nextToken(CommandLine.java:213)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:131)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102)
at jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
BUILD FAILED (total time: 10 seconds)
thanx for any help
Christoph