Make a new text (.txt) file and paste this into it:
cd C:\Program Files\Java\jre7\bin
java -jar C:\Users\YOUR_NAME_HERE\OSBOT_FILE_LOCATION\osbot.jar
and save the file as a .bat file
It's possible the version of java you want is in a different location, so if the cmd window that pops up says something about being able to find the program, make sure that the first line directs to your java bin folder and that the second line directs to the osbot jar. Also ensure that you use the EXACT name of your osbot jar (i.e. if it is named oSbOt_1_2_3.jar, rename the jar file or use exactly that name in the .bat file.
Also, you can run osbot with java 8, so there's really no need for this.