Kyiv Posted October 10, 2019 Posted October 10, 2019 Can someone explain whats going on here? The only local script I can get osbot to load is one I downloaded and placed in the scripts folder(AIO Looter), just to be sure it was working. Now I'm not sure why scripts I've edited or made myself are not compiling correctly (which is what I assume the problem is)? Eclipse w/ JDK 12.0.1 Java v 1.8.0_221
Kyiv Posted October 10, 2019 Author Posted October 10, 2019 [ERROR][10/09 08:41:13 PM]: Failed to load local script : core/Main.class is the error log I'm getting with the current code.
BravoTaco Posted October 10, 2019 Posted October 10, 2019 (edited) What IDE are you using? Don't recognize that one. Also are you able to show your project structure? Like the settings on your compile. Edited October 10, 2019 by BravoTaco
Kyiv Posted October 10, 2019 Author Posted October 10, 2019 15 minutes ago, BravoTaco said: What IDE are you using? Don't recognize that one. Also are you able to show your project structure? Like the settings on your compile.
BravoTaco Posted October 10, 2019 Posted October 10, 2019 (edited) Hmmm not to sure. Try deleting the jar from the folder and recompile without compressing the file. Also if that doesn't work you could try and use Intellij instead. Explv made a great tutorial for it here: Edit: Quick note, I think you have to use java 8, it looks like you are using java 12 try to download this and setup your project to use it: Link To JDK 8 Edited October 10, 2019 by BravoTaco
BravoTaco Posted October 10, 2019 Posted October 10, 2019 10 minutes ago, Malcolm said: I use eclipse. The IDE I doubt would cause this issue. For sure. I just found that using Intellij was easier for me when I was getting started
Medusa Posted October 10, 2019 Posted October 10, 2019 1 hour ago, BravoTaco said: What IDE are you using? Don't recognize that one. Also are you able to show your project structure? Like the settings on your compile. How don't you recognise eclipse 22 minutes ago, BravoTaco said: For sure. I just found that using Intellij was easier for me when I was getting started imo Eclipse is easier to start with. To this day I still don't know how to compile a script with IntelliJ.
BravoTaco Posted October 10, 2019 Posted October 10, 2019 6 minutes ago, Medusa said: How don't you recognise eclipse Uuuum weeeeell you see I used it once, back when I was starting out and didn't like the layout so I switched to intellij lol.
Gunman Posted October 10, 2019 Posted October 10, 2019 7 minutes ago, Token said: CockKiller,jar I think it mean Chicken Killer
Kyiv Posted October 10, 2019 Author Posted October 10, 2019 10 hours ago, BravoTaco said: Hmmm not to sure. Try deleting the jar from the folder and recompile without compressing the file. Also if that doesn't work you could try and use Intellij instead. Explv made a great tutorial for it here: Edit: Quick note, I think you have to use java 8, it looks like you are using java 12 try to download this and setup your project to use it: Link To JDK 8 I figured it was something stupid, I downgraded to Java 8, and it works fine now. Appreciate the help guys. 5 hours ago, Token said: CockKiller,jar Yes, CHICKEN Killer lol
BravoTaco Posted October 10, 2019 Posted October 10, 2019 2 hours ago, Kyiv said: I figured it was something stupid, I downgraded to Java 8, and it works fine now. Appreciate the help guys. Np. If you have any other questions feel free to pm me.