Building JavaFX 2.0 App on Mac, deploying on Windows


What are your strategies for building your JavaFX application on Mac and deploying on Windows ? I am currently having issues with how to bundle up my application so that it is double clickable on both platforms. I have tried using the ant-tools, but the jar file produced complain that JavaFX 2.1 needs to be installed on my Mac (how can I place the JavaFX 2.1 DP distribution so that the double-clickable Jar knows where to find it ?)

On the Windows side, Java7u3 is installed, which "comes with" Java FX 2.0.3. I need for the application to be able to execute as a double clickable JAR file here as well.

Any suggestions as to how this is set up ? I am using Maven to build my project. The more details you can provide the better.


Since 2.1 release the only (official) way to install JavaFX on Mac is cobundle installation with Java 7u4 (opposite to developers preview versions being published in zip archives).

If JavaFX on Mac was installed this way then jar with JavaFX can be run by double-click.

On Windows same jar by double-click will ask to install "JavaFX runtime" and will start if one is present already.

<strong>N.B.:</strong> in 2.2 release Mac/Linux would start to support jnlp (WebStart) run (already supported on Windows) which may suit you even better.


  • How can I restore the order of an (incomplete) select list to its original order?
  • When and how does m2e use the Maven test scope to include test dependencies in Eclipse Run Configura
  • Function which returns multiple values
  • Finding distance of rectangle with known aspect ratio in OpenCV
  • How do I split a String in CSH?
  • Google fonts in React Native
  • How does the C == operator decide whether or not two floating point values are equal?
  • When using a mask register with AVX-512 load and stores, is a fault raised for invalid accesses to m
  • Cakephp 2.3.x Sending Files and forcing the download of a mp4 file
  • ToolTip versus Popup (WPF control)
  • Excel 2010 Redim Preserve crash
  • InfluxDB - Getting only last value in query
  • Comparing a char with multiple characters
  • Updating DataGridView Selected Rows
  • Cannot programmatically move mouse cursor in VirtualBox
  • How to run method on client when subscribe is complete
  • How to install PHP pthreads in cpanel?
  • python re-sample at a uniform semiannual period (equivaent of 'BQ' in pandas resample)
  • r - fill columns in data frame
  • Why are there parentheses around scalar when assigning the return value of regex match in this Perl
  • I am using javascript to load some html page in another html page. Its working fine in Mozilla Firef
  • How can I save Array of Class Objects in to a Plist(Iphone Development)
  • Comparing a large set of images by content
  • Use of x`apply` to speed up loops
  • Isabelle matrix arithmetic: det_linear_row_setsum in library with different notation
  • Authorization Policies/Gates for Laravel 5.3 web app consuming own API w/ Passport
  • what is “Other” category in CosmosDB monitoring graph?
  • How to read contents of a directory recursively in Linux Kernel?
  • Determine Active Panel
  • Get an image from the video
  • autotest on ubuntu does nothing
  • How to convert SVG to jVectorMap format
  • Hibernate Idempotent Update
  • Azure NodeJS Error: ENOENT, open 'D:\\home\\site\\wwwroot\\bin\\views\\'
  • didSelectItemAtIndexPath of UICollectionView inside of a UIScrollView is not getting called
  • How can I do case insensitive string search with Linq and SQL Server?
  • How to use Typescript with libraries like Ampersand.js that parse configs to build prototypes
  • Excel File upload in asp.net using SqlBulkCopy
  • Wireshark Display Filter for Unique Source/Destination IP and Protocol
  • What is the best way to cache and reuse immutable singleton objects in Java?