Kotlin script compiler issue

Hi,

Question: Is Kotlin 1.1.1 not compatible with jdk11 and above?

Assuming the answer to the above question is ‘Yes’. I am migrating Kotlin 1.1.1 to Kotlin 1.5.0, however getting this exception when trying to compile kotlin expressions using Java

“org.jetbrains.kotlin.resolve.lazy.NoDescriptorForDeclarationException:Descriptor wasn’t found for declaration SCRIPT”

Any help would be really appreciated!

Thanks