Posted by santafen
on August 18, 2006 at 1:37 PM PDT
I have a possibly rather odd question regarding jnlp.
We are distributing an installer, written entirely in java, that is cross-platform (Windows, Mac, Linux, Solaris). We currently distribute it as an executable jar file, but some team members have complained that their version of Windows (or Linux) assosicates .jar files with an archiver, rather than java, so the .jar file doesn't execute but un-archives.
So I thought maybe I'd try to put the application on the CD wrapped in a web-page and a jnlp, so the user opens the web-page (from cd) and then clicks the 'Install' button and the jnlp fires up the installer.
I can make some of it work, at leat from NetBeans, but I have so far failed utterly to get the web-page-from-cd part to function. I guess I don't know what settings to use.
The jnlp file in question (thanks to NetBeans 5.0) sets the "codebase=$$codebase" which fails every time. So far, I have not found a value for this that will work.
<?xml version="1.0" encoding="UTF-8"?>
Sun Microsystems, Inc.
SDK Installer Application