Jump to content

OSBot won´t start


Recommended Posts

Posted (edited)

You can run multiple versions of Java on a single machine very easily.

Step 1. Download Java Runtime Environment 8* (This works for using any version of java.)

https://www.oracle.com/java/technologies/javase-jre8-downloads.html

(Oracle will require a registration now-a-days, as an official distributor of JRE/JDK/etc you can trust Oracle.)

Step 2. Install Java 8 using the default settings for all installation instructions.

(Note: Remember where your default file path when you install it. By default, it should be within your program files on your main drive.)

Step 3. Move your OSBot jar executable into a folder, then open the folder.

Step 4. Right click in the white space within the folder, towards the bottom of the drop down menu select, New > Text Document. Once this is done, save and name the file, "Run", DO NOT CLOSE IT.

Step 5. Open windows file explorer and go-to your local disc drive (Usually labeled "Local Disk(C:)"

Step 6. Open your program files folder and go to your Java folder (will be (x86) or not depending on your type of install being 32 or 64 bit)

Step 7. Inside your Java folder, open up the folder for the version of Java you want to use and then open the folder labeled "bin".

Step 8. Inside the bin folder, right click the **application** named **"Java"** and select properties from the drop down menu. (Be aware of files with similar names.) 

Step 9a. copy and paste the file path from the details reached through step 8 into the text document we created before for later.

Step 9b. copy and paste the following into the text document, replace "C:\FILEPATH\" with your own file path for Java executable. (Remember to re-name osbot.jar to your jar filename as well.) 

"C:\FILEPATH\" -jar "osbot.jar"
pause

Step 10. SAVE THE FILE AS, from here select "All file types" and name the file, "run.bat"

 

Example:

"C:\Program Files\Java\jre1.8.0_241\bin\java.exe" -jar "osbotlatest.jar"
pause

 

For anybody curious, the pause is simply there to keep the console open while the JRE is in execution. Makes me feel warm and snugly, not needed.

 

This could/should fix your issue.

 

Edited by brookpc

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...