Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.4
-
Fix Version/s: 2.0.5
-
Component/s: Bootstrap & Build
-
Labels:None
-
Environment:OS : ubuntu dapper
java vm : SableVM 1.11.3
-
Complexity:Intermediate
-
Number of attachments :
Description
MavenCli does
if (System.getProperty("java.class.version", "44.0").compareTo("48.0") < 0) //then echo "sorry we need version 1.4"
however java.class.version is the binary packaging format for the classes, not the supported API. java.version is the supported api, for which sable returns 1.4.2. So the process aborts out, wanting the 1.4 API, when it has 1.4 API (sable has 46.0 instead of 48.0 as the class packaging format used)
Be careful with java.version also, see comments on XSTR-249. XStream uses therefore java.specification.version now.