Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Tutorial Setting up Eclipse for RuneMate [Not Advised]

Author of MaxiBots
Joined
Dec 3, 2013
Messages
6,865
Hey guys, in this tutorial i'll be showing you how to install and setup Eclipse for use with RuneMate.

1. So to start with we'll need to download the latest version of eclipse which can be downloaded here.
You'll want the one called 'Eclipse IDE for Java Developers'. If you're running a 32-bit operating system make sure you get the 32-bit version.
Screenshot%202015-03-23%2022.14.31.png
Once you've clicked the download link corresponding to your systems architecture you'll be redirected to a page with a heap of download links. I usually just choose the big green down arrow one but if that's too slow you can try one of the mirrors. The download will be in the form of a zip file so you'll need an extraction tool such as winrar to open it. Eclipse is a portable application (No installation required) so wherever you extract it to will be where you run it from.
Screenshot%202015-03-23%2022.16.19.png

2. Once you've got eclipse extracted, open the folder and double click the eclipse.exe file. Eclipse will start loading up and will ask you to specify a workspace directory. This is where all of your script source and class files will be stored. Select an appropriate path (The default is usually fine) and tick the option to use this workspace as the default. If you don't you'll be asked which workspace you wish to use every time you open eclipse (Workspace can be changed from within the eclipse settings).
Screenshot%202015-03-23%2022.39.50.png

Now that eclipse is open you'll see the welcome window. Close it by clicking the cross in the welcome tab.You should now see the Project Explorer to the left side of the screen.
Screenshot%202015-03-23%2022.44.35.png

3. Now we need to install the Eclipse Subversive (svn) software. This will allow us to share the project to our RuneMate svn account so that we can submit our bots for use on the bot store.
To install this we need to go to this page and click and drag the install button (on the right side) into our eclipse window.
Screenshot%202015-03-23%2022.55.54.png
Once we've done this the Eclipse Marketplace will open and should look something like this.
Screenshot%202015-03-23%2022.57.42.png
Make sure all of the packages are selected and then click the confirm button.
You'll then see a terms and conditions window, agree to them and hit finish.
Screenshot%202015-03-23%2022.59.40.png
If you get a popup similar to below just hit yes.
Screenshot%202015-03-23%2022.58.41.png

You'll then see a progress bar. It might take a couple minutes for the software to download and install so just sit back and relax.
Screenshot%202015-03-23%2023.01.15.png

Once that's finished you'll be prompted to restart eclipse, select yes.
Screenshot%202015-03-23%2023.06.55.png

When Eclipse has loaded again you'll probably see the welcome window again, close it the same way you did last time.

4. Now we need to create a project. To do the following in the Project Explorer: Right click -> New -> Other
Screenshot%202015-03-23%2023.10.29.png

You should see a window popup similar to below. Expand the SVN folder and select Project from SVN and then hit next
Screenshot%202015-03-23%2023.11.49.png

5. You'll now be prompted to install an svn connector as this is the first time you've used the svn plugin. Select the highest version SVN kit available, in this case SVN kit 1.8.7 and then hit finish.
Screenshot%202015-03-23%2023.13.48.png

Another prompt will appear asking you to select the items you wish to install. Make sure everything is ticked and click next twice. You'll see the terms and conditions window again, agree and finish.
Shortly after you'll get a security warning asking if you want to install the software, just hit ok.
You'll now be prompted to restart eclipse again, select yes and then perform step 4 again.

6. You should see the Checkout from SVN window. We now need to go to the RuneMate developers page and copy our svn project url.
Screenshot%202015-03-23%2023.23.21.png
Paste the url into the URL field of the Checkout from SVN window.
Now enter the username displayed on that same page in the Username field and enter your svn password. If you don't know it you can reset it using the Reset SVN Password button on the developers page. Select save authentication, next and then finish. It may take a couple seconds to process.

7. The checkout as window will now be shown, make sure 'Check out as a project configured using the New Project Wizard' option is selected and then hit finish. We'll now see the New Project wizard again (From step 4). This time though, expand Java and select Java Project then next.
Enter a project name and make sure the selected JRE is 1.8 or higher and then hit finish.
Screenshot%202015-03-23%2023.34.43.png

If you're asked to configure a master password you can select no, it won't make a difference.
Your package explorer should now look something like this (Without the red cross)
Screenshot%202015-03-23%2023.43.30.png

8. Now we need to add the RuneMate jar as a library reference so that Eclipse doesn't throw errors when you use the RuneMate api, it will also allow Eclipse to auto import packages and suggest methods.
To do so we need to do the following to the project in the Package Explorer: Right click -> Build Path -> Add External Archives
Screenshot%202015-03-23%2023.50.41.png

Now navigate to your RuneMate.jar file and select it.

And you're now setup to start developing RuneMate bots in Eclipse, I hope this tutorial helped :)

(May add WindowBuilder instructions in the next few days ;))
 
Last edited:
Joined
Apr 4, 2015
Messages
31
I changed my SVN password, how do i edit that in my current project settings?


Edit: Apparently it will prompt for password once i upload something
 
Last edited:
Mod Automation
Joined
Jul 26, 2013
Messages
3,049
I would highly advise all aspiring developers to use IntelliJ instead of Eclipse. It's just a better IDE in all ways. An engineer is only as good as his tools.
 
Joined
Sep 13, 2016
Messages
1
somone can reupload picture all them are gone guide say look like this but it hard not picture there
 
somone can reupload picture all them are gone guide say look like this but it hard not picture there

i readed replys nvm
 
Joined
May 19, 2019
Messages
3
Why is making a bot in eclipse not advised?

I'm interested in learning how to make my own bot and I was planning on using Eclipse. What are some alternatives if eclipse is not advised?
 
Top