Monday, May 13, 2013

Testing 3D capabilities of JavaFX 8 (Early Access) on OS X

It works! :)

1. Install jdk-8-ea-bin-b89-macosx-x86_64-09_may_2013.dmg on your Mac
2. Copy-paste to a work directory
3. javac
4. java SphereAndBox

Great! :)

If it did not work for you, check that:

$ java -version
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b89)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b31, mixed mode)

If you get anything else, clear the JAVA_HOME env.var and try again (or comment here and let's debug).

The demo is not much, but it does give a solid 3D proof-of-concept. Can't wait to craft real worlds in Scala (n.b. ScalaFX does not currently support JavaFX 8 and it might take a while before it does. 3D abilities are a new feature of JavaFX 8.).

No comments: