Accepted answer

i worked around the issue by setting the sdk location to the location of the downloaded javafx 2.2 sdk in the javafx section of the eclipse preferences tree.


the current ga release of the oracle java sdk for mac should include javafx 2.1.

you don't need a separate download of the javafx 2.2 developer release unless you rely on functionality or bug fixes from the 2.2 release.

the e(fx)clipse release 0.14 should be able to detect the javafx installed with the oracle java distribution for mac.

getting started tutorials for e(fx)clipse.


happy to see that in your edit that you were able to use javafx 2.2 with osx 10.6. richard bair, java client lead, notes:

fwiw, there are in fact some apis we use from lion that aren't on snow leopard. also, apple only supports the current release of the os - 1 (so now it would be lion and mountain lion), and for deployment we needed special hooks. the thought was that it didn't make sense to support versions of the mac os that apple themselves didn't support any longer.

so don't be surprised if everything doesn't quite work as expected. 10.6 is not a certified configuration for javafx. as of june 2012, openjdk without a separate javafx download is likely not yet an alternative to oraclejdk for javafx development as all of javafx is not yet open sourced.

Related Query

More Query from same tag