Skip to content

Add locallib JavaFX jars to compile classpath#109

Open
alexeid wants to merge 1 commit intoCompEvol:masterfrom
alexeid:fix/javafx-classpath
Open

Add locallib JavaFX jars to compile classpath#109
alexeid wants to merge 1 commit intoCompEvol:masterfrom
alexeid:fix/javafx-classpath

Conversation

@alexeid
Copy link
Copy Markdown
Member

@alexeid alexeid commented Apr 29, 2026

locallib/ ships javafx.base.jar, javafx.controls.jar, javafx.fxml.jar, javafx.graphics.jar, javafx.media.jar, javafx.swing.jar, javafx.web.jar, and javafx-swt.jar, but the compile classpath only pulled in jam.jar, testfx.jar, and assertj-core-3.20.2.jar. Compilation therefore failed with "package javafx.geometry does not exist" (and ~2800 follow-on errors) on any JDK that does not bundle JavaFX — i.e. anything other than the Zulu-FX referenced by the openjre* properties.

This adds one line — <fileset dir="${libFX}" includes="javafx*.jar"/> — so a plain JDK (Zulu/Temurin/Oracle, no FX) builds cleanly using the jars already in the repo. build_jar_all_BeastFX succeeds end-to-end on Zulu 25 with this change.

The locallib/ directory ships javafx.base/controls/fxml/graphics/...
jars but the compile classpath only pulled in jam.jar, testfx.jar and
assertj. Builds therefore failed with 'package javafx.geometry does not
exist' on any JDK that does not bundle JavaFX (i.e. anything other than
the Zulu FX referenced by the openjre* properties).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant