I want the files to use a relative codebase so we can test them
locally (and also for maintainability reasons). However, I am not
having any luck getting this to work.
I tried too various combinations of codebase and href, without
success, with similar errors. Internet resources tell it should work
(although they point more to applets than to applications) but not
for me (Windows XP).
Well, I'm glad to hear that I'm not the only one having difficulty. ;-)
For what it is worth, reference at
http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/syntax.html
says you should use a <j2se> tag, not a <java> one like I see in
your template.
Originally, I had it as "j2se", but the element section of that
document lists "java" first and "j2se" as optional, so I changed it. I
hadn't noticed that, throughout the rest of the doc, they use "j2se".
I think Sun needs to clean this page up a bit.