JNLP Deployment Problem
I need to deploy a JavaFX Applet on a Mac running 1.6.0_33. But so far, I've been unable to do this successfully. Here's what I've tried:
1. I generated a JNLP file and using the generated html page, tried to view the applet. Unfortunately, the dtjava script indicated that I didn't have the correct setup. I was hoping that it would simply download the jfxrt.jar with the appropriate native libraries from Oracle's site, but that didn't happen.
2. I modified the JNLP to serve up an application instead of an applet, and tried accessing the JNLP directly instead of through the web page.
2. I tried serving up the jfxrt.jar and the native libraries separately using an os-specific resources tag in jnlp -- one jar for the native libs, and keep the original jfxrt.jar (that didn't work -- "java.lang.UnsatisfiedLinkError. Unable to load NativeLibLoader")
3. I tried updating jfxrt.jar with the native libraries (that didn't work -- same error message).
4. I tried copying the new jfxrt.jar file into *$JAVA_HOME/lib* (and not serving the jar file), but it couldn't find javafx.application.Application
5. I tried changing the extended file attributes (there's an attribute com.apple.quarantined) that's associated with the files and I thought that this might be preventing the jfxrt.jar from being accessed. But that didn't work either -- same error.
6. I've tried adding a javafx.runtime.path property to the j2se entry in the JNLP -- same error.
So my question is, how did people deploy JavaFX apps via webstart before Java 7 when the JRE did not include the the javafx runtime jars and libraries? Is there some other location that I should place the jfxrt.jar?