0

Is there a way to programatically find the j2se value(s) in the jnlp file, from within an extension installer (java code)?

val pop
  • 63
  • 3

1 Answers1

1

Yes, so long as you can determine the URL of the JNLP. A JNLP is just XML, so can be parsed by the J2SE XML APIs.

..I thought Sun introduced a method to provide the URL, but I cannot recall what it is right now. One way to work it if I remember incorrectly, is to write a property in the main JNLP as to the URL, then take it from there.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433