R
Roedy Green
I would like to be able to launch my Java webstart app also from CD.
I have been fooling around with various JNLP files, to no avail. They
die with "unexpected error 4" whatever that means.
If I ever get that going, I wonder if anyone has ever managed to get
the autorun.inf thing to launch a JNLP.
Here is what I have been attempting.
Get the user to type R: or whatever the CD is called and then type
replicatorreceivercd.jnlp
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="file://localhost"
href="replicatorreceivercd.jnlp">
<information>
<title>The Replicator 3.3 beta</title>
<vendor>Canadian Mind Products</vendor>
<homepage href="http://www.mindprod.com/" />
<description>Replicates files via CD. Also keeps them up to date
efficiently.</description>
<description kind="short">Replicates files via CD.</description>
<description kind="tooltip">the Replicator</description>
<icon href="replicator.gif" width="64" height="64" />
</information>
<resources>
<j2se version="1.4.2_01"
href="http://java.sun.com/products/autodl/j2se" />
<j2se version="1.4.2"
href="http://java.sun.com/products/autodl/j2se" />
<!-- application code -->
<jar href="replicatorreceiver.jar" />
<!-- set -D system properties -->
<property name="VIA" value="cd" />
<property name="PROJECT_NAME" value="Mindprod.com Website" />
<property name="UNIQUE_PROJECT_NAME"
value="com.mindprod.replicator" />
<property name="SUGGESTED_RECEIVER_BASE_DIR" value="c:\mp" />
<property name="SUGGESTED_RECEIVER_ZIP_STAGING_DIR"
value="c:\mpstaging" />
<property name="WEBSITE_ZIP_URL"
value="http://mindprod.com/replicator" />
<property name="SUGGESTED_LAN_ZIP_URL" value="file://localhost" />
<property name="KEEP_ZIPS" value="false"/>
<property name="UNPACK_ZIPS" value="true" />
<property name="AUTHENTICATION" value="none" />
</resources>
<security>
<all-permissions />
</security>
<!-- application class with main method -->
<application-desc
main-class="com.mindprod.replicator.AskReceiverConfig" />
</jnlp>
I have been fooling around with various JNLP files, to no avail. They
die with "unexpected error 4" whatever that means.
If I ever get that going, I wonder if anyone has ever managed to get
the autorun.inf thing to launch a JNLP.
Here is what I have been attempting.
Get the user to type R: or whatever the CD is called and then type
replicatorreceivercd.jnlp
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="file://localhost"
href="replicatorreceivercd.jnlp">
<information>
<title>The Replicator 3.3 beta</title>
<vendor>Canadian Mind Products</vendor>
<homepage href="http://www.mindprod.com/" />
<description>Replicates files via CD. Also keeps them up to date
efficiently.</description>
<description kind="short">Replicates files via CD.</description>
<description kind="tooltip">the Replicator</description>
<icon href="replicator.gif" width="64" height="64" />
</information>
<resources>
<j2se version="1.4.2_01"
href="http://java.sun.com/products/autodl/j2se" />
<j2se version="1.4.2"
href="http://java.sun.com/products/autodl/j2se" />
<!-- application code -->
<jar href="replicatorreceiver.jar" />
<!-- set -D system properties -->
<property name="VIA" value="cd" />
<property name="PROJECT_NAME" value="Mindprod.com Website" />
<property name="UNIQUE_PROJECT_NAME"
value="com.mindprod.replicator" />
<property name="SUGGESTED_RECEIVER_BASE_DIR" value="c:\mp" />
<property name="SUGGESTED_RECEIVER_ZIP_STAGING_DIR"
value="c:\mpstaging" />
<property name="WEBSITE_ZIP_URL"
value="http://mindprod.com/replicator" />
<property name="SUGGESTED_LAN_ZIP_URL" value="file://localhost" />
<property name="KEEP_ZIPS" value="false"/>
<property name="UNPACK_ZIPS" value="true" />
<property name="AUTHENTICATION" value="none" />
</resources>
<security>
<all-permissions />
</security>
<!-- application class with main method -->
<application-desc
main-class="com.mindprod.replicator.AskReceiverConfig" />
</jnlp>