Fix class recompilation on linux
Use path.separator to determine correct char
This commit is contained in:
parent
7e6e0424aa
commit
cfa50b476d
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class JavaCompiler extends Compiler {
|
||||||
pb = new ProcessBuilder(
|
pb = new ProcessBuilder(
|
||||||
BytecodeViewer.javac,
|
BytecodeViewer.javac,
|
||||||
"-d", fileStart2,
|
"-d", fileStart2,
|
||||||
"-classpath", cp.getAbsolutePath() + ";" + BytecodeViewer.library,
|
"-classpath", cp.getAbsolutePath() + System.getProperty("path.separator") + BytecodeViewer.library,
|
||||||
java.getAbsolutePath()
|
java.getAbsolutePath()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue