getting JavaFX running in the PDE again, fix the exports list to remove javafx

This commit is contained in:
Ben Fry
2021-06-20 14:09:29 -04:00
parent 3ea593c9e0
commit 9cdd8e14a6
4 changed files with 20 additions and 9 deletions

View File

@@ -443,7 +443,9 @@ public class JavaBuild {
/** Returns the dummy "module" path so that JavaFX doesn't complain. */
public String getModulePath() {
// Just set this to the main core/library directory to pick up JavaFX
return mode.getCoreLibrary().getLibraryPath();
//return mode.getCoreLibrary().getLibraryPath();
File folder = new File(mode.getFolder(), "libraries/javafx/library");
return folder.getAbsolutePath();
}