FyredUp Posted June 12, 2020 Share Posted June 12, 2020 (edited) I'm trying to learn how to make a bot and I'm not sure what I'm doing wrong. I've taken the skeleton code from here and set up IntelliJ to use the OSBot library so that all the keywords are recognized. When building the artifact jar there doesn't appear to be any issues, and I'm putting it into the OSBot scripts folder. When I open OSBot and hit refresh on scripts, the logger simply says "Failed to load local script : FirstBot.class". I did change the class name from Skeleton to FirstBot when I took the skeleton code. Does anyone have any guesses as to what I'm doing wrong? Edited June 12, 2020 by FyredUp Quote Link to comment Share on other sites More sharing options...
BravoTaco Posted June 12, 2020 Share Posted June 12, 2020 (edited) This problem can occur while using the wrong java version when building out the jar. In IntelliJ go to File -> Project Structure -> Project Set the Project SDK to 1.8 Set the Project language level to 8 Edited June 12, 2020 by BravoTaco Quote Link to comment Share on other sites More sharing options...
FyredUp Posted June 12, 2020 Author Share Posted June 12, 2020 2 hours ago, BravoTaco said: This problem can occur while using the wrong java version when building out the jar. In IntelliJ go to File -> Project Structure -> Project Set the Project SDK to 1.8 Set the Project language level to 8 Oh that's almost certainly it. Haven't gotten back to my computer yet but I'd bet money that's my issue. Thank you! Quote Link to comment Share on other sites More sharing options...