This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Dave- > For once I am not writing with a problem! I do have a question though. > Our students have created some IDV bundles for our LEAD education > partners. What we'd like to do is put the bundles on our web site, and > when a user clicks on the bundle, Java Web start kicks off, downloads > and installs IDV from Unidata and then loads in our bundle. I'm not > familiar enough with web start on how to do this on our server. Can > you guide me in how to set this up? Save the IDV JNLP file at: http://www.unidata.ucar.edu/software/idv/webstart/IDV/idv.jnlp to your local disk and use this as a template. For each bundle, you can create a JNLP for that by replacing: <application-desc main-class="ucar.unidata.idv.DefaultIdv"/> with: <application-desc main-class="ucar.unidata.idv.DefaultIdv"> <argument>-bundle</argument> <argument>%bundlelocaion%</argument> </application> where %bundlelocation% is the URL of the bundle on your web site. You'd just have one of these for each bundle that you want to serve up. You can use any of the IDV command line arguments in the bundle file. For those well-versed in scripts, you could just have the URL's point to a web service which would replace %bundlelocation% with the appropriate bundle URL on the fly. That would be more work, but be more flexible. Alternatively, you could load the bundle into the IDV and use the File->Save.. menu and save it with an extension of jnlp. That will create a JNLP file with the bundle base64 encoded in it. Then just point to the JNLP file from your web page. The downside is that since the bundle is in the JNLP file, you can't easily replace it. Don Murray Ticket Details =================== Ticket ID: YOZ-930622 Department: Support IDV Priority: Normal Status: Open