This should also compile on-the-device. It only needs java 1.6, there&#x27;s a command-line compiler, and its scripts just run some jars:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;JetBrains&#x2F;kotlin&#x2F;blob&#x2F;build-1.0.0-beta-3595&#x2F;compiler&#x2F;cli&#x2F;bin&#x2F;kotlinc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JetBrains&#x2F;kotlin&#x2F;blob&#x2F;build-1.0.0-beta-35...</a>