The Legman Posted November 19, 2017 Posted November 19, 2017 https://gyazo.com/d319b3d062abbe29e97bbb73360db110 Am getting this error. I can run OSBot normally, just not throuhg a batch file. Has anyone got a idea please? Thanks
purplewatilla Posted November 19, 2017 Posted November 19, 2017 (edited) java -jar "osbot 2.4.145.jar" Make sure your JRE and Java 8 are up to date! https://www.java.com/en/download/ Edit- It seems like it's an error in your script, or your jar / OSBot settings are corrupt, so I'd advise deleting everything (all OSBot settings, etc) and then redownload and run OSBot once, then try launch it again. Delete C:\Users\<user>\OSBot Edited November 19, 2017 by purplewatilla
The Legman Posted November 19, 2017 Author Posted November 19, 2017 2 minutes ago, purplewatilla said: java -jar "osbot 2.4.145.jar" Make sure your JRE and Java 8 are up to date! https://www.java.com/en/download/ Edit- It seems like it's an error in your script, or your jar is corrupt, so I'd advise deleting everything (all OSBot settings, etc) and then redownload and run OSBot once, then try launch it again. Currently running Java 9https://gyazo.com/fd61977b5b53d6673f68055b78a829a3 Script is also compiled with Java 1.8 https://gyazo.com/b0dceafe55395efa3de6746642987d0e
purplewatilla Posted November 19, 2017 Posted November 19, 2017 8 minutes ago, The Legman said: Currently running Java 9https://gyazo.com/fd61977b5b53d6673f68055b78a829a3 Script is also compiled with Java 1.8 https://gyazo.com/b0dceafe55395efa3de6746642987d0e Yeah sorry, I crossed out that bit, do this part: Quote Delete C:\Users\<user>\OSBot
The Legman Posted November 19, 2017 Author Posted November 19, 2017 2 minutes ago, purplewatilla said: Yeah sorry, I crossed out that bit, do this part: Still same bug https://gyazo.com/80242dc9c3a2d05399fe566613e7e727 Thanks though. DO you think me running in java version 9, not 8, is a issue?
purplewatilla Posted November 19, 2017 Posted November 19, 2017 27 minutes ago, The Legman said: Still same bug https://gyazo.com/80242dc9c3a2d05399fe566613e7e727 Thanks though. DO you think me running in java version 9, not 8, is a issue? You need 1.8 broski.
The Legman Posted November 19, 2017 Author Posted November 19, 2017 Solved now. Thanks to everyone that helped!