3

Dealing with JavaFX 2-generated JNLPs, I discovered that JavaFX comes with an Ant task that creates a JAR with an integrated launcher.

On Windows systems, the launcher automatically discovers an existing JavaFX installation on the PATH and uses it to satisfy the application's dependencies.

I couldn't get the same wrapped JAR to run on a linux systems. JavaFX's most current linux build is installed, and I have placed its lib directory on my PATH, yet all I see is an (AWT-based) message window telling me to install JavaFX.

Since I learned about the (as-yet-)lack of JNLP support for linux yesterday, my question is twofold: Can the wrapper pick up installations on linux, or is this feature not implemented yet? What preconditions do I have to meet so it discovers my installation?

There is a similar question dealing with a related issue on Mac OS.

4

0 回答 0