Will Java Webstart 1.4 load JRE 1.5 ?

… according to my tests: no, unfortunately. However, hopefully, I’ve just made a mistake. Is it possible?

The JNLP section for the JRE reads like this:[quote]



[/quote]
This works for Java 1.5 Webstart machines. For Java 1.4 you get some error message, saying that the specified JRE 1.5 can’t be loaded from the server etc.

I’ve seen some Webstarts specifying some JRE subversion (like 1.4.2) and then my 1.5 Webstart installs this old JRE.
So it works the 1.5 -> 1.4X way, but not the 1.4X -> 1.5 way?

This page here:

http://java.sun.com/products/javawebstart/developers.html

says that the 1.5 auto download (autodl) isn’t available yet. Of course it may just be out of date.

Kev

If you go to java.com with a computer wiyhout java the autodownload feature tries to install a 1.4.2_0x version. So I guess 1.5/5.0 isn’t officially released yet :stuck_out_tongue:

Sun’s webmasters are known to frequently make shockingly newbie mistakes like this, so I wouldn’t worry - it’s one of those things it’ll take them a few weeks to sort out, no matter how much we shout at them.

Like the time they made bug-logging require a password for a few months, for no apparent reason. (I complained, was told “it’s always been like this” despite the fact that for the preceding 3+ years it had not, then eventually it just went back to normal with no explanation)

Ok, thanks for the pointers.

Is it by the way possible to test one’s JNLP starter file locally? (No webserver is running)

version=“1.5.0+”

should be: version=“1.5+” (dunno if it works then)

Is it by the way possible to test one’s JNLP starter file locally?

Yes. It’s a piece of cake. All you need is a webserver :stuck_out_tongue:

Well, don’t be afraid my friend. It’s really easy with xampp.

http://www.apachefriends.org/xampp-en.html

That’s apache with php, mysql and perl. It’s a complete package with an installer. Just run it et voila you have a running webserver :slight_smile:

Create a “.htaccess” file in the “htdocs” directory and put this line into it:
AddType application/x-java-jnlp-file .jnlp

or
(preferred way to do it)
Edit /apache/conf/httpd.conf
Search for “AddType” and add the flowing line:
AddType application/x-java-jnlp-file .jnlp

That’s it :wink:

Java 5.0 is on “quiet release” which is extremely sensible given the installed base… basically they’re p1mpz0ring it out only to those In The Know first to make sure they’ve not left in some showstoppers before it gets unleashed on the masses.

Cas :slight_smile:

Standard “Release Candidate” cough hopeful-beta cough practice that seems to be so popular these days :slight_smile:

Kev

to make sure they’ve not left in some showstoppers

Like… completely b0rked sound :-/

Precisely.

Cas :slight_smile:

This is a nice small plugin for Netbeans…

according to the author:

[quote]JnlpMultiView adds support for JNLP files, also know as Java Web Start, to NetBeans. It includes File Templates which you can access over ‘New File…’ and a visual editor like the one know from Web Projects for web.xml files.
[/quote]
http://public.wuapaa.com/public/NetBeans/

Just tried the plugin with NB 5.0 and I have to give it a thumbs down. :frowning: It doesn’t seem to do much to help create the JNLP file… it is almost as easy to edit by hand… and the big problem… it doesn’t work… I changed all sorts of fields but the jnlp file is not marked as modified and will not save the new information to the file.