@@ -255,7 +255,7 @@ private Command generateCommandLine(File nativeFolder) throws IOException {
255255 // Provided Minecraft arguments
256256 Path gameAssets = repository .getActualAssetDirectory (version .getId (), version .getAssetIndex ().getId ());
257257 Map <String , String > configuration = getConfigurations ();
258- configuration .put ("${classpath}" , String .join (OperatingSystem . PATH_SEPARATOR , classpath ));
258+ configuration .put ("${classpath}" , String .join (File . pathSeparator , classpath ));
259259 configuration .put ("${game_assets}" , gameAssets .toAbsolutePath ().toString ());
260260 configuration .put ("${assets_root}" , gameAssets .toAbsolutePath ().toString ());
261261
@@ -434,7 +434,7 @@ protected Map<String, String> getConfigurations() {
434434 pair ("${resolution_width}" , options .getWidth ().toString ()),
435435 pair ("${resolution_height}" , options .getHeight ().toString ()),
436436 pair ("${library_directory}" , repository .getLibrariesDirectory (version ).getAbsolutePath ()),
437- pair ("${classpath_separator}" , OperatingSystem . PATH_SEPARATOR ),
437+ pair ("${classpath_separator}" , File . pathSeparator ),
438438 pair ("${primary_jar}" , repository .getVersionJar (version ).getAbsolutePath ()),
439439 pair ("${language}" , Locale .getDefault ().toString ()),
440440
@@ -444,7 +444,7 @@ protected Map<String, String> getConfigurations() {
444444 // when we propose this placeholder.
445445 pair ("${libraries_directory}" , repository .getLibrariesDirectory (version ).getAbsolutePath ()),
446446 // file_separator is used in -DignoreList
447- pair ("${file_separator}" , OperatingSystem . FILE_SEPARATOR ),
447+ pair ("${file_separator}" , File . separator ),
448448 pair ("${primary_jar_name}" , FileUtils .getName (repository .getVersionJar (version ).toPath ()))
449449 );
450450 }
0 commit comments