-
Notifications
You must be signed in to change notification settings - Fork 11
Troubleshooting
When trying to start Warteschlangensimulator I get the message "Program could not be executed. Maybe there is no Java environment."
Warteschlangensimulator is a Java program and therefore needs an Java environment to run. The Windows version of Warteschlangensimulator comes with a small exe wrapper which will search for Java and then run the simulator using the found Java version. If the wrapper cannot find any Java version it will show the message above.
If you have installed a Java environment from AdoptOpenJDK or from Oracle Warteschlangensimulator should be able to find Java. If you have done some custom installation or you are using some other Java distributions you may have to give the wrapper some hint. It will look for Java at this locations in this order:
- In the folder ".\jdk".
- In the folder ".\jre".
- In the folder specified via the "JAVA_HOME" environment variable.
- In the Oracle JDK folder specified in the registry.
- In the Oracle JRE folder specified in the registry.
- In "C:\Program Files\AdoptOpenJDK" and its subfolders.
- In "C:\Program Files\Java" and its subfolders.
- In "C:\Program Files\Amazon Corretto" and its subfolders.
- In "C:\Program Files" and its subfolders.
- It will assume "javaw.exe" is in the current folder or on the search path and will try to start the simulator by the command "javaw.exe -jar simulator.jar".