Re: [JNLP]trying to install a jnlp app on a web server
Roedy Green wrote:
<?xml version="1.0" encoding="utf-8"?>
<!-- Test for Web Start Deployment -->
[quoted text clipped - 29 lines]
<application-desc/>
</jnlp>
I'm not sure if this will help, but I would try the following changes:
<homepage href="http://localhost/genealogy"/>
to <homepage href="http://virtual1.com/genealogy"
/>
href attributes within JNLP files can be specified
*relative* *to* (anywhere below) the codebase.
That is one of its purposes.
add these lines:
<j2se version="1.6.0_02" java-vm-args="-ea"
href="http://java.sun.com/products/autodl/j2se"
initial-heap-size="128m" max-heap-size="512m" />
<j2se version="1.6.0_01" java-vm-args="-ea"
href="http://java.sun.com/products/autodl/j2se"
initial-heap-size="128m" max-heap-size="512m" />
And this is rubbish. I am sure I've put the links
before, that should prove it for you.
That represents a notable *error* in your web start
page. A simple reference to 1.5+ (note the '+') will get
any 1.5, any 1.6, any 1.7...
replace <application-desc/> with
<application-desc main-class="com.virtual1.genealogy.Genealogy" />
Did the jar have a manifest? As I noted earlier,
the main-class attribute is not *always* required.
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via http://www.javakb.com