Connection (async and sync) is using javafx.util.Pair so the required Java version need to be a JavaFX runtime Would be great to use another java core class