compileReleaseKotlin fails with java.lang.ClassNotFoundException: com.sun.tools.javac.util.Context

OK, problem is with JDK, I was using Open JDK 8 and it was missing tools.jar for some reason, I switched to Oracle JDK and now it works like a charm!

Leave a Comment