This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Chapter 1 contains a section that describes how to set up, run, and deploy projects from NetBeans. There is also a section that explains compiling and running from the command line. That's it. The rest of the book is about writing code, not IDE how-tos.
For convenience, all of the samples are distributed as NetBeans projects.
This is a really old thread Bob.
Probably best to start new threads for recent questions.
Pro JavaFX is outdated and refers to the JavaFX 1.x script language which is no longer distributed by Oracle.
There is a new book for JavaFX 2+ => Pro JavaFX 2. The book was written by most of the same authors as the original.
To compile a JavaFX program from the command line for JavaFX 2.x using only javac, you need to manually place jfxrt.jar on the classpath.
You not need to manually place jfxrt.jar on the classpath for Java 8 - which makes Java 8 more convenient to work with.
There are some instructions on compiling JavaFX from the command line in the answer to the StackOverflow question Compile JavaFX manually.
In your question, you say:
pacakage javafx.builders does not exist
package is spelt wrong, so check your code for typos.
Builders will be deprecated in the version of JavaFX (Java 8), so use of them is no longer recommended.
Builders will still continue to work in Java 8, but may be removed from the distribution for Java 9.
In your question, you supply a classpath to jfxrt.jar as "C:\Program Files\Java\jre\jfxrt.jar".
By default there is no jfxrt.jar in that location on any standard JavaFX install.
For Java JRE 7 64 bit (update 6 and later) installed on windows, jfxrt.jar is located at "C:\Program Files\Java\jre7\lib\jfxrt.jar".
You can check in the filesystem using Windows Explorer to see where jfxrt.jar is located for your installation.