I have an issue with a R package built on Java. I have a Mac M2 Sonoma. The problem may be related to the java version I have and its directory but I'm unable to fix it. Code and error below:
getProviders()
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
java.lang.IllegalAccessException: class RJavaTools cannot access a member of class java.util.TreeMap$Entry (in module java.base) with modifiers "public"