Updated to dynamically determing platform/jdk combinations