1. A method executable by a processor for managing an application execution environment comprising a cross-platform application program interface to provide services to applications that run in the application execution environment, the method comprising: maintaining associations between the applications and different versions of the application execution environment installed on a computer, where the associations indicate in which of the different versions of the application execution environment the applications run; and managing the different versions of the application execution environment on the computer based on whether each of the different versions of the application execution environment has dependent applications as indicated by the associations between the applications and the different versions of the application execution environment in which the applications run, wherein the maintaining comprises registering for a file extension on the computer that is specific to one of the different versions of the application execution environment, and the managing comprises checking for a registration for the file extension before performing a management task with respect to the one of the different versions of the application execution environment.