rJava crashing after installation of windows 11

8 views
Skip to first unread message

Lays

unread,
Oct 28, 2025, 7:30:37 PM (20 hours ago) Oct 28
to Maxent
Hello, I am trying to run ENMevaluate() with ENMeval 2.0.5.2 and i am getting the following error:

Error in rJava::.jcall(mxe, "[D", "predict", lambdas, rJava::.jarray(colnames(x)),  :
  method predict with signature (Ljava/lang/String;[Ljava/lang/String;[[I[Ljava/lang/String;)[D not found

I didn't have this error before installing windows 11 and I cannot find a solution to fix it. 
I have tried changing the Java version from a jre version to a few different jkd versions, i have changed the JAVA_HOME variable and added it to the path, i have tried reinstalling r, rStudio, rTools and the packages rJava, ENMeval, dismo and predicts. 

I tried to run with maxnet and it works since it doesn't depend on java, but i don't get the variable importance that i need. Does anyone know how to fix this issue? 

Thank you in advance for the information.


Lays






Reply all
Reply to author
Forward
0 new messages