Captainjack Posted November 7, 2020 Share Posted November 7, 2020 (edited) Ill make this short. - Tried the fixed mentioned https://osbot.org/forum/java/ but it didn't work - Tried this .bat code because someone said it helped them and it fixed the launch issue for me. Quote cd C:/Users/%username% for /f "delims=" %%x in ('dir /s /od /b OSBot*.jar') do set recent=%%x java -jar "%recent%" echo %recent% pause - I haven't botted in months and want to come back - Last time I used osbot it was on version 2.5.87 - The 2.6.0+ versions do not work even with the .bat mentioned above. I end up getting this Any recommendations? thanks in advance. Edited November 7, 2020 by Captainjack Quote Link to comment Share on other sites More sharing options...
Space Posted November 7, 2020 Share Posted November 7, 2020 Uninstall all java versions, restart your pc and install Java 8 Try using Jarfix to see if that helps at all. Looking at the reason why it isn't opening is because you're running Java 11 which doesn't comply with OSbot it needs to be Java 8. If you haven't uninstalled all versions except 8 you'll still get an error as it's trying to load using that one. The purpose of restarting before installing Java 8 is to make sure your pc is looking for the correct version, not the one you've uninstalled 1 Quote Link to comment Share on other sites More sharing options...
Captainjack Posted November 7, 2020 Author Share Posted November 7, 2020 27 minutes ago, Space said: Uninstall all java versions, restart your pc and install Java 8 Try using Jarfix to see if that helps at all. Looking at the reason why it isn't opening is because you're running Java 11 which doesn't comply with OSbot it needs to be Java 8. If you haven't uninstalled all versions except 8 you'll still get an error as it's trying to load using that one. The purpose of restarting before installing Java 8 is to make sure your pc is looking for the correct version, not the one you've uninstalled Omfg it works. The Solution was so simple. I've been doing the other thing for 2 years. Thanks lmao Quote Link to comment Share on other sites More sharing options...