All packages until jdk.*
are private to the JVM and shouldn’t be accessed directly. You can enable the compiler and JVM to let you use them, but you should explore all other possible options first.
2
solved err is prompting while compiling class which imports dk.nashorn.internal.objects.annotations in java 11