Jump to content

Fixing OSBot not starting.


Recommended Posts

Posted (edited)

How to fix OSBot when it won't start

 

1. Confirm you have Java 8 installed:

 

 

 

- Open the command prompt (CMD) in windows or terminal in Mac OS / Linux

- Type java -version

- The output shoudld contain java version "1.8.XXX" where XXX is some number e.g. java version "1.8.0_65"

- If this output does not appear, or you have a different version of Java installed go to the link http://www.oracle.com/technetwork/java/javase/download

  and install the latest Java 8 JRE

 

2. Confirm java will open OSBot:

 

Windows:

 

 

Open notepad and copy the following code:


cd C:/Users/%username%
for /f "delims=" %%x in ('dir /s /od /b OSBot*.jar') do set recent=%%x
java -jar "%recent%"
echo %recent%
pause

Save the file as osbot.bat  with file type set to All files 

 

Run the .bat file and OSBot should open.

 

Linux / Mac OS:

 

 

Run the following command in a terminal and OSBot should open.


find ~/ -name "OSBot*.jar" -print0 | xargs -0 ls -t | head -n 1 | xargs -I{} java -jar {}

 

3. If OSBot opens using the above commands, try running this software, it will attempt to fix your .jar file, allowing you to open it by double clicking.

 

 

Edited by Explv
  • Like 18
  • Heart 3
  • 1 month later...
  • 4 months later...
  • 2 months later...
  • 5 weeks later...
Posted

 

How to fix OSBot when it won't start

 

1. Confirm you have Java 8 installed:

 

 

- Open the command prompt (CMD) in windows or terminal in Mac OS / Linux

- Type java -version

- The output shoudld contain java version "1.8.XXX" where XXX is some number e.g. java version "1.8.0_65"

- If this output does not appear, or you have a different version of Java installed go to the link http://www.oracle.com/technetwork/java/javase/download

  and install the latest JRE

 

2. Confirm java will open OSBot:

 

Windows:

 

Open notepad and copy the following code:

cd C:/Users/%username%
for /f "delims=" %%x in ('dir /s /od /b OSBot*.jar') do set recent=%%x
java -jar "%recent%"
echo %recent%
pause

Save the file as osbot.bat  with file type set to All files 

 

Run the .bat file and OSBot should open.

 

Linux / Mac OS:

 

Run the following command in a terminal and OSBot should open.

find ~/ -name "OSBot*.jar" -print0 | xargs -0 ls -t | head -n 1 | xargs -I{} java -jar {}

 

3. If OSBot opens using the above commands, try running this software, it will attempt to fix your .jar file, allowing you to open it by double clicking.

 

 

ment to look like this?

 

BIgj8pG.png

  • 1 year later...
Posted (edited)

Great guide,

Only it doesn't say what to do if you find the problem at step 2.
Unable to access jar file

I use JDK java version "1.8.0_144".

Please help, im lost

---- edit -----

I didn't place the bat file in my download folder (where my osbot file is located).

And i was not stuck any more, thx for 99% great guide!

Edited by evert123
Stupid me
Posted

Hi, I am new to osbot

I am getting the boot error, I downloaded the latest version of osbot I have Java SE 9 

and just tried Java 8 update 144... I tried uninstalling the 9 although it says there is none anymore even though it told me it wouldnt let me uninstall 9..

Why isn't it working, my copy of windows is unactivated and seems like I don't have full rights as 

Add/remove programs isnt working.. please help

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...