launch your installer like this:
$ java -DTRACE=true -jar installer.jar
You'll see all available variables on the right. The java version is
amongst them.
~Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkzzcPgACgkQPRbJU16VsQ2hXwCcDtG2RVM4LX3IR8L0icIzq0RE
tHEAn1EocMdb5iSYNCFx9K5PtA9cNomw
=x2LM
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Regards, Dirk
2010/11/29 cimnine <cim...@gmail.com>:
The Java version, IMHO, is stored in one of these variables I mentioned. Same like JAVA_HOME.. Isn't it?
--
http://izpack.org/
http://jpz-log.info/
http://julien.ponge.info/
But why shouldn't you be able to access variables like 'SYSTEM_java_runtime_version' or 'SYSTEM_java_specification_version' from within the install.xml when they are defined at runtime? Files get parsed at runtime, don't they?
Maybe I have time this evening to test it out. I still think it is possible to access these vars :)
Cheers, Chris
Yes it is. And it definetly is too less documented. Great I could help you.
~Chris