Thank you for installing Oracle’s JDK 7 for Mac.
This release of the JDK is a developer-only version. You can use it to create Java applications and includes the new JavaFX 2.2 client stack.
The developer version however does not include a plugin to launch Java applications from the browser so applet and Web Start applications cannot use this JDK.
To test if the JDK installed successfully you should do the following:
note: if you are installing JDK 7u5 the version listed will be 1.7.0_05 instead of 1.7.0_04
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-bxx)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b17, mixed mode)
http://netbeans.org/kb/docs/java/quickstart.html will also help you get started with using NetBeans.
Alternatively, if you know that the JAR file can be run using java -jar, locate the file in the Finder and double-click it. The application should start normally.
If you would like to use Java from your browser or through a webstart application you will need to wait for the consumer release on Mac. There is an early access preview available. We encourage you to try it and give us feedback so we can deliver the best possible experience for Mac users when we release the JRE for Mac.