Alek Posted July 18, 2014 Posted July 18, 2014 This simple tutorial shows you how to run OSBot with Java 8 and Java 7 installed on your computer. If you're getting this error: There's a good chance you are running OSBot in Java 8. Solution: Step 1. Create a new text file. In the text file add these two lines: cd C:\Program Files\Java\jre7\bin java -jar C:\Users\Alek\Desktop\OSBot2.jar In the second line, replace the directory with wherever you keep your OSBot jar file.Step 2.Save this new text file as a batch file by ending the file name in ".bat", such as: Step 3.Your newly saved batch file will appear with a gear/cog icon: Double click and you're ready to go. 3
Alek Posted July 19, 2014 Author Posted July 19, 2014 This simple tutorial shows you how to run OSBot with Java 8 and Java 7 installed on your computer.
Mikasa Posted July 19, 2014 Posted July 19, 2014 So you will need Java 7 regardless? Yes. This guide is to help people so they don't have to uninstall Java 8, but they can just simply follow the guide so OSBot opens with Java 7. 1
Bubble Posted July 19, 2014 Posted July 19, 2014 Nice guide, thanks! I'm sure it will help a lot of people
Theodore Bagwell Posted July 19, 2014 Posted July 19, 2014 (edited) Hmm it actually doesn't work for me. A cmd prompt starts up, but closes down as soon as i can read it EDIT: lmao nevermind, i didn't change the user\name Edited July 19, 2014 by Mojito
moocowoinks Posted July 20, 2014 Posted July 20, 2014 Still doesnt work. Just a cmd prompt and close can't even read what cmd prompt says because its too fast. I changed the directory and have jdk 7 jre 7 and jre 8 installed.
Mikasa Posted July 20, 2014 Posted July 20, 2014 Still doesnt work. Just a cmd prompt and close can't even read what cmd prompt says because its too fast. I changed the directory and have jdk 7 jre 7 and jre 8 installed. If you have teamviewer, PM me and I can help you resolve the issue.
ohhungry Posted July 20, 2014 Posted July 20, 2014 Just a note, for some people Java may be in your x86 folder instead, at least it is for me, so the first line should read C:\Program Files (x86)\Java\jre7\bin
udidoo Posted July 22, 2014 Posted July 22, 2014 I keep getting: Error: Unable to access jarfile. I'm assuming I'm writing the destination wrong for osbot? Though I've tried just about every combination I could think of.