Hello,
i tried e(fx)clipse with JavaFX SDK in C:\Program Files\Java\javafx-sdk-17.0.1\lib and the libraries are not found because of the spaces in the path.
The issue can be solved in the class FXClassLoader line 447
URL[] urls = Stream.of(paths).map( Path::toFile).map( f -> {
try {
return f.toURL();
} catch(Throwable t) {
return null;
}
} ).toArray( i -> new URL[i]);
With return f.toURI().toURL(); it works.
Hello, i tried e(fx)clipse with JavaFX SDK in C:\Program Files\Java\javafx-sdk-17.0.1\lib and the libraries are not found because of the spaces in the path. The issue can be solved in the class FXClassLoader line 447 URL[] urls = Stream.of(paths).map( Path::toFile).map( f -> { try { return f.toURL(); } catch(Throwable t) { return null; } } ).toArray( i -> new URL[i]); With return f.toURI().toURL(); it works.
Thanks