@happy15 there is no simple switch to detect usage of java 1.8 apis. you need to compile against java 1.7 runtime. not sure what you mean by “does kotlin compiler compile 1.8 source to 1.6 binary”. the kotlin compiler compiles kotlin sources, not java sources.