Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users

    Recommended Posts

    Posted (edited)

    Hello, I'm uploading this repeat style topic to hopefully show people an easier way to get up and running with Eclipse. So lets get started! First follow, https://dreambot.org/guides/scripter-guide/script-dev/installing-jdk/ and download a .zip of w/e version you want. I use 21 LTS Eclipse Temurin also grab the same version of the jre.

    Download Eclipse IDE for Java Developers from https://www.eclipse.org/ It comes in a zip format so extract it and put it where you want. Open it up and configure where you want the workspace to be, "This is where your projects will save to."

    Once it is open select new Java Project.

    This will Appear! First lets Configure JRE to our downloaded and extracted JDK folder, "I normally put this in the workspace where my projects are saved but not inside my project." Now make sure that Use default JRE is selected. Click Next!

    NewJavaProject.thumb.png.4f7d966362c41ca6aa890f35ef65a044.png

    Now this will appear. Click Libraries, Click Modulepath, and then click Add External Jars.

    NewJavaProject1.thumb.png.9ed7f6296050fdb1178b434100e7101d.png

     

    Now this will appear. Nav yourself to the default installed path after running the DBLauncher and letting it update. Select the clinet.jar and click OK

    NewJavaProject2.png.fba381cca2646a897b7dc9ed609fc971.png

     

    Now click finish. Your all set to now follow this guide, except we are going to be using Eclipse to export our Script. https://dreambot.org/guides/scripter-guide/script-dev/running-first-script/

    So nav yourself to your Package editor, and right click.

    NewJavaProject3.png.d6e385524f30f095f85772a07853c73f.png

     

    Now select Export.

    NewJavaProject4.png.2c8e4b421f711b036f6098dd60a18bc7.png

    This will appear. Expand the Java option with a folder by click the arrow. Highlight JAR file and click next.

    NewJavaProject5.png.69f9c7f68c1ff8642bf01597b7419311.png

     

    This will appear now.  Expand your project name, and make sure default package is selected. in the pane to the right of it make sure .classpath and .project is selected.

    Browse to your scripts folder and name your .jar it should default to your projects name. Then click OK, and then Finish.

    NewJavaProject6.png.cb5b228eb9b7dd3bd12e4b30b318ca19.png

     

    This will appear now. "Not on your first export!!" Click Yes

     

    NewJavaProject7.png.50a5b1f63dd89e5a5011ce02d69167d2.png

     

    The last appear I swear XD. Click OK.

    NewJavaProject8.png.4d3b00b15f642ff6bda4ee4f8eebb2ba.png

     

    Congrats check you DreamBot scripts folder to make sure it exported. Fire up DreamBot through the Jagex launcher with your patched in DreamBot on either clinet. NOTE if you patch runelite it comes with a stand alone jre @ 1.8, which gives you a miss match jre error! In this case follow this to solve it. Happy Botting!!!

     

     

    Up vote it and I'll make a video. I''ll get around to cleaning it up and making it more professional looking.

    Edited by c0d33rr0r

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.