noobiefoo Posted March 18, 2020 Posted March 18, 2020 I followed the guide on forums/java, but im still getting an error saying that the program isnt operable. This is my path: "C:\Program Files (x86)\Java\jre1.8.0_241\bin\java.exe -jar "OSBot 2.5.70 (1).jar"" It tells me that "OSBot" isnt an operable program so it looks like its stopping at the first space. but when i get rid of the spaces it doesnt work because thats a non existing program.
Gunman Posted March 18, 2020 Posted March 18, 2020 @noobiefoo Normally you would do java -jar "osbot 2.5.70.jar" But I guess in your case I think you do it like this. C:\Program Files (x86)\Java\jre1.8.0_241\bin\java.exe -jar "osbot 2.5.70.jar"
noobiefoo Posted March 19, 2020 Author Posted March 19, 2020 @Gunman So if i run the bat script without the two sets of quotes it tells me that C:\Program isnt a recognized command. And if i run it with the two sets of quotes im still getting the issue of the script throwing an error saying that "osbot" isnt an operable program. Because its stopping at the first space between osbot and 2.5.70.jar.
noobiefoo Posted March 19, 2020 Author Posted March 19, 2020 So i figured out the spaces issue it was just a matter of the location of the quotes. But now im getting an unable to access jarfile error???
Gunman Posted March 19, 2020 Posted March 19, 2020 25 minutes ago, noobiefoo said: @Gunman So if i run the bat script without the two sets of quotes it tells me that C:\Program isnt a recognized command. And if i run it with the two sets of quotes im still getting the issue of the script throwing an error saying that "osbot" isnt an operable program. Because its stopping at the first space between osbot and 2.5.70.jar. Alright try this then cd "C:\Program Files (x86)\Java\jre1.8.0_241\bin" java -jar "Jarpath example -> C:\Users\pcUser\Desktop\osbot 2.5.70.jar" in -jar you will put the path to osbot jar. like mine is on the desktop and that's the path for the example.