You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some trouble executing the jar with dependencies.
My setup
Windows 10, Java installed (using OpenJDK 17.0.1 2021-10-19), all environment variables initialised properly.
I tried both the prebuild jar from GitHub and building it myself using maven.
Expected behaviour
Running java -jar path/to/jarwithdependencies.jar should start the program.
Actual behaviour
I am receiving the warning: WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
I assume that the program should start nevertheless, but it does not.
It might be possible that I just didn't run the program properly but I could not find any help in the readme. I am thankful for any advice!
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue under windows. In the log file “sports-booking-sniper.log” you should find this exception with stacktrace when starting the java application: java.io.IOException: To start java on Windows, use javaw! (see mabe02/lanterna#335)
I have made the following change so that this problem does not occur for other users:
Error messages that cause the application to crash are now also displayed in the console and not only in the log file.
In the README.md I have now added the note for running the application with javaw on Windows.
Hi :)
I have some trouble executing the jar with dependencies.
My setup
Windows 10, Java installed (using OpenJDK 17.0.1 2021-10-19), all environment variables initialised properly.
I tried both the prebuild jar from GitHub and building it myself using maven.
Expected behaviour
Running
java -jar path/to/jarwithdependencies.jar
should start the program.Actual behaviour
I am receiving the warning:
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
I assume that the program should start nevertheless, but it does not.
It might be possible that I just didn't run the program properly but I could not find any help in the readme. I am thankful for any advice!
The text was updated successfully, but these errors were encountered: