sanyo1989 Posted May 1, 2022 Share Posted May 1, 2022 Hello everyone, I use to bot a while ago and i'm looking to get back into the game. I got a new PC and i wanted to start botting again so I tried to install OSbot I followed the /java help guide, but i'm still stuck. I try to run the bat it had me made and it still does not run. Any help would be greatly appreciated! thanks and keep botting! Quote Link to comment Share on other sites More sharing options...
Gunman Posted May 2, 2022 Share Posted May 2, 2022 Try jar fix https://johann.loefflmann.net/en/software/jarfix/index.html Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted May 2, 2022 Share Posted May 2, 2022 Show us what error you get, hard to tell without any info Quote Link to comment Share on other sites More sharing options...
sanyo1989 Posted May 2, 2022 Author Share Posted May 2, 2022 (edited) So my set up, I have everything in one folder. when you open the folder there are 3 files, a java file (with the 1.8.0_251 jre) the OSBot 2.6.46.jar and the bat file the java guide on the forums recommended me make. i thought having everything in one file would help me keep organized and find everything easy. it said to run the bat file but something pops up really quickly then closes same when i just run the OSBot 2.6.46.jar. I know this may not help with the issue telling you where all my files are located. also, i tried that jar fix. it comes up with a error that "There is nolatest java Runtime environment on your computer. would i like to install." and it looks like the website is down =/ thank you for your time and help! Edited May 2, 2022 by sanyo1989 Quote Link to comment Share on other sites More sharing options...
Gunman Posted May 2, 2022 Share Posted May 2, 2022 4 hours ago, sanyo1989 said: it said to run the bat file but something pops up really quickly then closes same when i just run the OSBot 2.6.46.jar. Add pause to the end of the bat file on it's own line. Should stop the box from closes so we can see what it says Quote Link to comment Share on other sites More sharing options...
sanyo1989 Posted May 3, 2022 Author Share Posted May 3, 2022 'C:\Program' is not recognized as an internal or external command, operable program or batch file. I just copied the address of where the java can be found. Quote Link to comment Share on other sites More sharing options...
Gunman Posted May 3, 2022 Share Posted May 3, 2022 9 hours ago, sanyo1989 said: 'C:\Program' is not recognized as an internal or external command, operable program or batch file. I just copied the address of where the java can be found. Show bat file code Quote Link to comment Share on other sites More sharing options...
sanyo1989 Posted May 4, 2022 Author Share Posted May 4, 2022 the code is written as such " C:\Program Files\Java\jdk1.8.0_251\bin\java.exe -jar "osbot.jar" pause " I do have the java file in both my program files and in this new folder, but it won't work even if i remove the java file in my "Bot folder" that i have it in with OSBot. I also tried including the OSbot version number in it. Side note, I can't stop reading your responses in Eric Cartmens voice. Quote Link to comment Share on other sites More sharing options...
GoldGetter Posted May 4, 2022 Share Posted May 4, 2022 Try the same thing with quotes around your java.exe location. So: "C:\Program Files\Java\jdk1.8.0_251\bin\java.exe" -jar "osbot.jar" Should do the trick. 1 Quote Link to comment Share on other sites More sharing options...
sanyo1989 Posted May 4, 2022 Author Share Posted May 4, 2022 (edited) It's saying that "the system cannot find the path specified." In the CMD line. Edited May 4, 2022 by sanyo1989 Quote Link to comment Share on other sites More sharing options...
GoldGetter Posted May 4, 2022 Share Posted May 4, 2022 Sounds like the java.exe file is not in that location. Find where the java.exe is and copy the file location it is in instead of your current file location. I am referring to this section of the .bat as your file location: C:\Program Files\Java\jdk1.8.0_251\bin\. Change that with wherever the java.exe is. Quote Link to comment Share on other sites More sharing options...
sanyo1989 Posted May 4, 2022 Author Share Posted May 4, 2022 (edited) these are screenshots of where the java is, and the path i have set in the .bat file. also i'm sorry for the mass of white on the screen. Again, I want to really thank you guys for all your help with my stupid brain Edited May 5, 2022 by sanyo1989 Quote Link to comment Share on other sites More sharing options...
Gunman Posted May 5, 2022 Share Posted May 5, 2022 @sanyo1989 First photo says it's a jre but in the bat file you have jdk. Basically the path is wrong, change bat file jdk to jre. And the file path should still be in quotes as mentioned previously Quote Link to comment Share on other sites More sharing options...
sanyo1989 Posted May 5, 2022 Author Share Posted May 5, 2022 It's working! Omg thank you guys so much! I'll just keep running the bat file to start it up. @Gunman @GoldGetter Thank you guys so much for your help, I'm sorry for it being such a stupid thing. 2 Quote Link to comment Share on other sites More sharing options...