Cmontryme Posted January 16 Share Posted January 16 hello, I tried to use a old version of eclipse that I know how to write scripts on but my JRE isn't compatible with it... I also tried the modern eclipse IDE and idk how to get started. plzz help. Quote Link to comment Share on other sites More sharing options...
Czar Posted January 16 Share Posted January 16 This one needs to be Java 8, be careful it says JavaSE-21 there, need to right click project -> configure build path -> select jre system library -> edit... -> java 8 or java 1.8 2 Quote Link to comment Share on other sites More sharing options...
Cmontryme Posted January 17 Author Share Posted January 17 (edited) On 1/16/2025 at 5:39 PM, Czar said: This one needs to be Java 8, be careful it says JavaSE-21 there, need to right click project -> configure build path -> select jre system library -> edit... -> java 8 or java 1.8 I love how Czar takes me under his wing regardless of a decade year long "mutial relationship" :))) ty Czar, I wasn't sure if I needed JDK 8 or if JRE 21 would have worked but I will give it a shot. tytytyty EDIT: Java 1.8 Worked ty ! Edited January 17 by Cmontryme 1 Quote Link to comment Share on other sites More sharing options...
Czar Posted January 18 Share Posted January 18 Any time glad it worked, and I’m always happy to help please lemme know if you have any other questions, because I have another video guide releasing on youtube but this one is different from the previously sponsored one glgl :)) 1 Quote Link to comment Share on other sites More sharing options...
Cmontryme Posted January 18 Author Share Posted January 18 (edited) when I try to "Run As" it tells me to "Select Java Application" pls help idk how to compile my script Edited January 18 by Cmontryme Quote Link to comment Share on other sites More sharing options...
Cmontryme Posted January 18 Author Share Posted January 18 I cant figure out how to use eclipse or IntelliJ Quote Link to comment Share on other sites More sharing options...
skillerkidos1 Posted January 18 Share Posted January 18 3 hours ago, Cmontryme said: I cant figure out how to use eclipse or IntelliJ Quote Link to comment Share on other sites More sharing options...
Cmontryme Posted January 18 Author Share Posted January 18 1 hour ago, skillerkidos1 said: I followed every step of the guide exactly and still nothing shows in my scripts folder or in my OSBot client scripts Quote Link to comment Share on other sites More sharing options...
skillerkidos1 Posted January 18 Share Posted January 18 12 hours ago, Cmontryme said: I followed every step of the guide exactly and still nothing shows in my scripts folder or in my OSBot client scripts add me on discord 1 Quote Link to comment Share on other sites More sharing options...
Cmontryme Posted January 18 Author Share Posted January 18 5 hours ago, skillerkidos1 said: add me on discord +rep @skillerkidos1 for solving the confuration mystery out for me. 1 Quote Link to comment Share on other sites More sharing options...
Cmontryme Posted January 20 Author Share Posted January 20 Could someone figure out how to setup a script skeleton and compile it in the modern version of eclipse? I am going to have to dodge this IntelliJ trial but I really like the eclipse look. plzzzzz Quote Link to comment Share on other sites More sharing options...
Wacky Jacky Posted Wednesday at 12:26 PM Share Posted Wednesday at 12:26 PM On 1/20/2025 at 7:26 AM, Cmontryme said: Could someone figure out how to setup a script skeleton and compile it in the modern version of eclipse? I am going to have to dodge this IntelliJ trial but I really like the eclipse look. plzzzzz Intellij is free, just make sure you get the community edition. Or if you stick with Eclipse, watch a few videos on how to compile java code to a jar file. make sure you main.java looks a bit like this: Spoiler import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "Skeleton", author = "Wack", version = 1.0, info = "", logo = "") public class Skeleton extends Script { @Override public void onStart() { //Code here will execute at the start of the script only ones! //often used for guis etc. } @Override public void onExit() { //Code here will execute after the script gets stopped } @Override public int onLoop() { //here goes your script! //e.g. if (!Banks.GRAND_EXCHANGE.contain(myPosition())) { getWalking().webWalk(Banks.GRAND_EXCHANGE); } return 100; //The amount of time in milliseconds before the loop starts over 600ms is one game tick ^^ } @Override public void onPaint(Graphics2D g) { //This is where you will put your code for paint(s) } } Just adding this maybe usefull? Quote Link to comment Share on other sites More sharing options...