I'm trying to use Kotlin in Visual Studio Code. I've just finished choosing the environment path, but when I try to run the program I get this warning every time:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil to method java.util.ResourceBundle.setParent(java.util.ResourceBundle)
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
If I try to run
--illegal-access=deny
I get the following errors:
error: unresolved reference: illegal
--illegal-access=deny
^
error: variable expected
--illegal-access=deny
^
error: unresolved reference: access
--illegal-access=deny
^
error: unresolved reference: deny
--illegal-access=deny
I'm a bit of newbie, so how can I fix this problem? Thanks for every answer!