Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.6, 2.2.1, 3.0
-
None
Description
In current eclipse/pom.xml, maven activation will detect OS architecture to decide which version of eclipse to be downloaded. It often fails on 64-bit system because of two reasons,because a 64-bit system may either use a 32-bit JDK or 64-bit JDK. Therefor, we have to detect JDK data model(32bit or 64bit) instead of OS architecture.
After my investigation, we can make use of property "sun.arch.data.model" to get the JDK data model. With this property, we can improve the build script to find correct eclipse version based on JDK data model.