Take the 2-minute tour ×

I've read that JWS checks the jnlp or the jar file on the server for a timestamp change to detect if there are updated files, but my application updates don't download automatically when I run an application a second time.

If i javaws -uninstall, then launch the app again, it works fine so I know the files on the server are updated. I also checked the time stamps on the FTP, and they are updated when new files are uploaded, so I don't think thats the issue either.

Can anybody help? It'd be very greatly appreciated!

share|improve this question
Perhaps related to stackoverflow.com/questions/2148454/… –  Raghuram Feb 8 '11 at 5:26
Does your JNLP have a codebase attribute set? –  finnw Feb 8 '11 at 10:44
Yes, I have the codebase attribute set to the url of the folder it's hosted in, and the href set to the jnlp file. –  nbadal Feb 8 '11 at 18:29
add comment

1 Answer

up vote 1 down vote accepted

In order for your program to update itself, your JNLP file should include the following:

 <update check="always"/>

You can place this after the information tag, not inside of it.

share|improve this answer
I haven't worked on this project for almost a year, so I have no way to test if this answer is correct for my specific case, but I'll mark it as an answer because I'm sure this may solve it for others! –  nbadal Mar 3 '12 at 1:22
add comment

Your Answer


