Jump to content

Running Java 8 instead of Java 11


Recommended Posts

Posted

I followed the guide on forums/java, but im still getting an error saying that the program isnt operable. 

This is my path:  "C:\Program Files (x86)\Java\jre1.8.0_241\bin\java.exe -jar "OSBot 2.5.70 (1).jar""

 

It tells me that "OSBot" isnt an operable program so it looks like its stopping at the first space. but when i get rid of the spaces it doesnt work because thats a non existing program. 

 

Posted

@Gunman So if i run the bat script without the two sets of quotes it tells me that C:\Program isnt a recognized command. And if i run it with the two sets of quotes im still getting the issue of the script throwing an error saying that "osbot" isnt an operable program. Because its stopping at the first space between osbot and 2.5.70.jar. 

 

Posted
25 minutes ago, noobiefoo said:

@Gunman So if i run the bat script without the two sets of quotes it tells me that C:\Program isnt a recognized command. And if i run it with the two sets of quotes im still getting the issue of the script throwing an error saying that "osbot" isnt an operable program. Because its stopping at the first space between osbot and 2.5.70.jar. 

 

Alright try this then

cd "C:\Program Files (x86)\Java\jre1.8.0_241\bin"
java -jar "Jarpath example -> C:\Users\pcUser\Desktop\osbot 2.5.70.jar"

in -jar you will put the path to osbot jar. like mine is on the desktop and that's the path for the example.

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