Alek Posted July 18, 2014 Share 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 Quote Link to comment Share on other sites More sharing options...
Theodore Bagwell Posted July 18, 2014 Share Posted July 18, 2014 Nice, i was actually looking for this Quote Link to comment Share on other sites More sharing options...
Th3 Posted July 18, 2014 Share Posted July 18, 2014 Why would you have jre7 if you only got java 8? Quote Link to comment Share on other sites More sharing options...
Mikasa Posted July 18, 2014 Share Posted July 18, 2014 Why would you have jre7 if you only got java 8? 1 Quote Link to comment Share on other sites More sharing options...
RoomScape Posted July 19, 2014 Share Posted July 19, 2014 So you will need Java 7 regardless? Quote Link to comment Share on other sites More sharing options...
Alek Posted July 19, 2014 Author Share Posted July 19, 2014 This simple tutorial shows you how to run OSBot with Java 8 and Java 7 installed on your computer. Quote Link to comment Share on other sites More sharing options...
Mikasa Posted July 19, 2014 Share 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 Quote Link to comment Share on other sites More sharing options...
Bubble Posted July 19, 2014 Share Posted July 19, 2014 Nice guide, thanks! I'm sure it will help a lot of people Quote Link to comment Share on other sites More sharing options...
Theodore Bagwell Posted July 19, 2014 Share 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 Quote Link to comment Share on other sites More sharing options...
moocowoinks Posted July 20, 2014 Share 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. Quote Link to comment Share on other sites More sharing options...
Mikasa Posted July 20, 2014 Share 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. Quote Link to comment Share on other sites More sharing options...
ohhungry Posted July 20, 2014 Share 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 Quote Link to comment Share on other sites More sharing options...
Woah Posted July 21, 2014 Share Posted July 21, 2014 Still can't get it working:( Quote Link to comment Share on other sites More sharing options...
udidoo Posted July 22, 2014 Share 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. Quote Link to comment Share on other sites More sharing options...
07botaccount Posted July 22, 2014 Share Posted July 22, 2014 doesnt work for me Quote Link to comment Share on other sites More sharing options...