Jump to content

Fixing OSBot not starting.


Explv

Recommended Posts

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
Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...
  • 2 months later...
  • 5 weeks later...

 

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

Link to comment
Share on other sites

  • 1 year later...

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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