I am using an old Head First Java book that covers Java 5. I am attempting to use javac to compile my source files, but it appears that javaFX has upped the complexity. I'm getting that javac is not a recognized command. My PATH variable currently points to the bin directory of my javasdk (C:\Program Files\Oracle\JavaFX 2.1 SDK\bin\). Is there a path I can point to in this latest release (I downloaded JDK 7u5) that will allow me to use javac? Is there a command that is similar to javac that is called through options with javafxpackager?
Place both the jdk and the javafx sdk bin directories on your path.
The jdk can include javafx but the javafx sdk does not include the jdk.
javac is a jdk program not a javafx one.
javac is in the bin directory of your jdk install.
See this link:
If you are using a separate jdk and javafx installs, as the path in your question confirms you are, then you can place both the bin directory from the javafx and the java installs on your path. For jdk7u6 (javafx 2.2), the jdk bin directory is all you need on the path as it includes the javafxpackager tool.