I do not own web space which supports the jnlp extension and am wondering whether there exists a free web host that does support java webstart.
There are hosts who give you PHP (or another server side language, Perl or ASP comes to mind). I use this:
<?php
//AddType application/x-java-jnlp-file .jnlp
//AddType application/x-java-archive-diff .jardiff
header("Content-type: application/x-java-jnlp-file");
print("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
?>
<jnlp spec="1.0+" codebase="http://thisistheurl.com/file/Sokoban4k" href="Sokoban4k.jar">
<information>
<title>Sokoban4k</title>
<vendor>Kent Larsson</vendor>
<homepage href="http://thisistheurl.com/2005/12/13/sokoban4k/" />
<description>A Sokoban clone with 95 levels called Sokoban4k. You control the red circle using the arrow keys. Restart current level using R and skip to next level using N. The goal of the game is to push all suns into the marked floor squares on every level. Enjoy!</description>
<offline-allowed />
</information>
<resources>
<j2se version="1.4.2+" />
<jar href="Sokoban4k.jar" />
</resources>
<?php
// Only if the JAR-file is signed.
// <security>
// <all-permissions />
// </security>
?>
<application-desc main-class="H" />
</jnlp>
Use it if you like, I might have taken it from someone else as well. (Can’t remember.)
Cheers for the script, I think i might take up your offer
I host 4K games for free on javaunlimited, which, of course, supports normal jnlp
ftp: javaunlimited.net
user: j4k@javaunlimited.net
pass: j4k
files appear at http://javaunlimited.net/hosted/
even better
Since my ISP refuses to properly configure their web server I was thinking of moving Bungie Bill to your server, but I can’t figure out how to modify the info for an existing entry.
you just find your game in the list, and click the “edit” button (looks like a blue pencil, next to the red ‘x’)
or you can just click here
Argh! I apparently forgot the password I used… and I don’t see a way to have it emailed to me.
PMed.