Installer loads custom classes from <jar> tags before checking a required Java version

Description

An IzPack installer loads currently all custom classes in advance before checking the Java version defined by the optional tag like this:


For example, if the installer is launched in JRE 6, but some libraries imported by <jar> are compiled using JDK 7 the installer fails on starting with the following stacktrace:


This happens apparently before the <javaversion> tag is evaluated and therefore doesn't lead to a "controlled" stopping of the installer with a reasonable user dialog informing the user about a mismatching.Java version.

Environment

None

Assignee

Unassigned

Reporter

René Krell

Impact

None

Components

Affects versions

Priority

Low
Configure