Fix class recompilation on linux

Use path.separator to determine correct char
This commit is contained in:
Лач 2019-11-22 22:55:05 +05:00
parent 7e6e0424aa
commit cfa50b476d
No known key found for this signature in database
GPG key ID: 40B5D6948143175F

View file

@ -78,7 +78,7 @@ public class JavaCompiler extends Compiler {
pb = new ProcessBuilder(
BytecodeViewer.javac,
"-d", fileStart2,
"-classpath", cp.getAbsolutePath() + ";" + BytecodeViewer.library,
"-classpath", cp.getAbsolutePath() + System.getProperty("path.separator") + BytecodeViewer.library,
java.getAbsolutePath()
);
}