Build the jnlp uri when resource is available