Re: web start
On Mar 22, 6:03 am, ivan danicic <i...@goaway.spam> wrote:
Andrew Thompson wrote:
On Mar 21, 5:31 am, ivan danicic <i...@goaway.spam> wrote:
...
Hello, the "unable to load.." has been cured by having an absolute rather
than relative link in the jnlp file. Now the error is "missing field from
launch file <jnlp>(<application-dec|...)".
I can see a few problems with it..
..I can see nothing missing,I
enclose this file as an attachment.
Please don't 'attach' files. This group was
not defined as accepting attachments or binaries,
and well behaving servers (apparently GG is not)
will strip them automatically.
To your JNLP..
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase=file:///home/ivie/proggies/opengl/jogl/examples>
<href="example.jnlp">
'href' should be part of the same element (between
the '<','>' of the previous element, to write it over
two lines..
<jnlp codebase="file:///home/ivie/proggies/opengl/jogl/examples"
href="example.jnlp">
(Also, all attributes should be enclosed in quotes,
either single or double quotes should do, but for
simpliciaty, keep it consistent.)
<information>
<title>Abra-cadabra</title>
<vendor>IVAN </vendor>
<offline-allowed/>
</information>
<security>
<!__<all-permissions/>-->
!__ is not a valid 'start of comment', it is
!-- that starts comments - this is *probably*
the source of the current problem (as soon as the
XML parser becomes confused, all bets are off
as to it working, or giving good error messages.
</security>
<resources>
<j2se version="1.5+"/>
<jar href="/home/ivie/proggies/opengl/jogl/example.jar" main="true"/
</resources>
<application-desc
<main-class="texture2"/>
Again, these two lines should be a single element,
since we can 'self close it' I recommend replacing those
two lines..
</application-desc>
...as well as this one, with the two lines..
<application-desc
main-class="texture2"/>
</jnlp>
HTH
Andrew T.