This implementation of NumberBaseConversion for Kotlin.
Download Kotlin: https://kotlinlang.org/docs/command-line.html
Create jar file:
kotlinc Main.kt -include-runtime -d Main.jar
Run it:
java -jar Main.jar
Enter source and target base. Note that this tool supports bases from 2 to 36. Then enter number that you want to convert.