-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The project still going? Some errors with Java and extensions #97
Comments
Hi rogerio-bio,
6.4.0 is the newest version, already. And it seems to work on my PC with nlrx 0.4.5. About Java, as Netlogo bundles Java normally NetLogo extentions should work with Java version that comes with NetLogo. But you can install and use your own Java if you need. There are instructions in the NetLogo docs. Your error message says Best, Sebastian |
I will uninstall Java from my PC and try to use the Java included in version 6.4.0. I'll keep you updated here. |
Hi, here's what I did: 1 - I uninstalled my Java to use the one that comes with NetLogo 6.4.0, but I encountered the following error:
2 - I installed Java and defined JAVA_HOME:
Erros persist:
4 - I moved the model to the app/models folder, but:
The only "solution" that worked was to run NetLogo 6.2.1 with JAVA_HOME set to JDK 11. However, with this solution, I can't run my models on NetLogo itself. Any ideas? |
I am experiencing the same issue with a model I made. Just a couple of things:
I've been doing this setting the folder containing the |
@Polvi8 you are correct with both. We haven't updated nlrx to 6.4.0, yet, it seems that we have to update the documentation then, too. |
Glad to know you are working on it. Thanks a lot for your work! In the meantime, I found these solutions, do they seem viable? |
Hi, thank you for the package @nldoc
I tried to use NetLogo 6.2.1 and encountered this error: java.lang.UnsupportedClassVersionError: org/myworldgis/netlogo/GISExtension has been compiled by a more recent version of the Java Runtime (class file version 55.0). This version of the Java Runtime only recognizes class file versions up to 52.0.
This error occurs when using solo NetLogo. Now, after switching to NetLogo 6.4.0, I encountered this error:
results <- run_nl_all(nl = nl) Exception in thread "main" Can't find extension: profiler at position 12 in at org.nlogo.core.ErrorSource.signalError(ErrorSource.scala:11)
The GIS extension only works with Java version 55.0. Could the package be updated to support newer Java and NetLogo versions?
Thank you
The text was updated successfully, but these errors were encountered: