Groovy - WARNING: An illegal reflective access operation has occurred

前端 未结 7 2092
时光取名叫无心
时光取名叫无心 2021-02-05 02:20

I am pretty much new to java and groovy. I have installed groovy 3.0 on my windows 10 laptop (64 bit) and when tried to run groovy getting following warning:

&g         


        
相关标签:
7条回答
  • 2021-02-05 03:14

    Setting JAVA_HOME to a Version 8 JRE solved it for me:

    #! /usr/bin/env -S JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre groovy
    println "hello world"
    
    0 讨论(0)
提交回复
热议问题