bicker Posted July 9, 2023 Share Posted July 9, 2023 When loading my client it is trying to use my java 12, i have made a osbot.bat file on my desktop C:\Program Files\Java\jdk1.8.0_361\bin\java.exe -jar "OSbot 2.6.71.jar" i have tried it with osbot.jar also, i have ran jarfix as well, still getting the same issue Thanks Quote Link to comment Share on other sites More sharing options...
Gunman Posted July 10, 2023 Share Posted July 10, 2023 21 hours ago, bicker said: When loading my client it is trying to use my java 12, i have made a osbot.bat file on my desktop C:\Program Files\Java\jdk1.8.0_361\bin\java.exe -jar "OSbot 2.6.71.jar" i have tried it with osbot.jar also, i have ran jarfix as well, still getting the same issue Thanks Try "C:\Program Files\Java\jdk1.8.0_361\bin\java.exe" -jar "OSbot 2.6.71.jar" And make sure OSbot 2.6.71.jar is the actual name of the jar, it is case sensitive 1 Quote Link to comment Share on other sites More sharing options...
bicker Posted July 10, 2023 Author Share Posted July 10, 2023 2 hours ago, Gunman said: Try "C:\Program Files\Java\jdk1.8.0_361\bin\java.exe" -jar "OSbot 2.6.71.jar" And make sure OSbot 2.6.71.jar is the actual name of the jar, it is case sensitive still happening, when i click to open osbot, it is trying to use java 12 also when i run jarfix it seems to be trying to fix my java 12 Quote Link to comment Share on other sites More sharing options...
Gunman Posted July 10, 2023 Share Posted July 10, 2023 2 hours ago, bicker said: still happening, when i click to open osbot, it is trying to use java 12 also when i run jarfix it seems to be trying to fix my java 12 When using bats you need to run the bat every time, this won't change any of the default Java paths used when double clicking jars Quote Link to comment Share on other sites More sharing options...
bicker Posted July 11, 2023 Author Share Posted July 11, 2023 On 7/11/2023 at 12:08 AM, Gunman said: When using bats you need to run the bat every time, this won't change any of the default Java paths used when double clicking jars when saving my file as osbot.bat or "osbot.bat" it doesnt seem to be saving the file as a bat file, it just looks like a normal blank file/notepad, i appreciate the help Quote Link to comment Share on other sites More sharing options...
bicker Posted July 11, 2023 Author Share Posted July 11, 2023 also even if i get it saved as a .bat file it seems to still be trying to use java 12, very confused since it used to work... Quote Link to comment Share on other sites More sharing options...