The Legman Posted November 19, 2017 Share 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 Link to comment Share on other sites More sharing options...
purplewatilla Posted November 19, 2017 Share 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 Link to comment Share on other sites More sharing options...
The Legman Posted November 19, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
purplewatilla Posted November 19, 2017 Share 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 Link to comment Share on other sites More sharing options...
The Legman Posted November 19, 2017 Author Share 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? Link to comment Share on other sites More sharing options...
Muffins Posted November 19, 2017 Share Posted November 19, 2017 Java 9 doesnt work with osbot. 2 Link to comment Share on other sites More sharing options...
purplewatilla Posted November 19, 2017 Share 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. Link to comment Share on other sites More sharing options...
The Legman Posted November 19, 2017 Author Share Posted November 19, 2017 Solved now. Thanks to everyone that helped! Link to comment Share on other sites More sharing options...
purplewatilla Posted November 20, 2017 Share Posted November 20, 2017 1 Link to comment Share on other sites More sharing options...