-
Notifications
You must be signed in to change notification settings - Fork 22
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
Failed running IzPack setup.jar and portable archive #71
Comments
Regarding issue 2, the start_model.bat assumes that the java runtime executable is set in the user's path. Some Java installers like the one distributed by Oracle will set this automatically when the user installs the JRE. Other JRE distributions may not set the java path on the user's machine, so this path would need to either be set manually, or the start_model.bat file needs to updated to point to the location of the javaw.exe. |
We should at least include documentation that the user may need to configure their machine's javaw executable path. I'm not sure if we can create general functions in the model launcher scripts for win and osx to find java if it's missing from the path. |
I tried to use java command instead of javaw to run the START command generated in the My command (supposing my ReNetLogo project is called test1 :
The error output:
It seems such a problem exists when different versions of JREs are used after I googled the problem. By the way, I am using jdk-11.0.10 in my computer. Any solutions? |
I've usually seen the above error when there is a problem with the path to the .rs scenario folder, and the error is because the Repast runtime can't parse the scenario folder path. Does the model path happen to include any special characters or non-Latin characters? |
I moved the |
Hi,
Thanks for your hard work in Repast. I like the feature of model distribution in a single jar file and the portable archive file. However, the existing functions of deploying the model have significant issues.
My environment: Windows 10 Pro, JDK 11.
Issue 1: When I build the installer for my ReLogo project and we then have a setup.jar file. However, I failed to install the built installer (setup.jar) and struck in the step of installing. The ReLogo Getting Started doc says the LzPack only supports Java version 7 or 8, not later. That is quite annoying since at present most of our computers have installed the latest version of JDK. Maybe in the future, the IzPack should be replaced by a more modern installer library.
Issue 2: Then I tried to build a portable archive file to distribute my model. However, I run the "start_model.bat" and failed to run the model. I assume the problem is the same as the previous one due to different versions of JDK.
Again, since Repast is an amazing simulation toolkit, please consider replacing the IzPack that could hinder the wide distribution of user's Repast models.
The text was updated successfully, but these errors were encountered: