bootstrap
bootstrap copied to clipboard
Classpath separator on linux is different from windows
On Linux systems, the java classpath separator is a colon instead of a semicolon. I have used conditional compilation to set the separator based on the compilation target.
I think it's worth fixing as well
let fixed_lib_path = Path::new(&libraries_path).join(lib_path.replace("/", "\\"));
Yes, code should be :
let fixed_lib_path = Path::new(&libraries_path).join(lib_path.replace("\\", "/"));
or
let fixed_lib_path = Path::new(&libraries_path).join(lib_path);
as / is a path separator that works for Linux, MacOS and Windows ;
I don't think that \\ works for OSes other than Windows.