The environment comes in two flavours. There is a version for the Swing Java virtual machine and a version for the Android Java virtual machine.
The different flavours do not deliver exactly the same functionality. The environment inherits the differences already found in the library. Currently the environment does not add some major additional differences. For a summary of the differences found in the library see the library installation documentation.
The code of the libraries is also mostly identical except for some places where different sys-tem packages are used. Because of these differences the Android library will not run in a Swing virtual machine, and the Swing library will not run in an Android virtual machine.
In the following we will give more details on the installation of
the different versions: