Difference between revisions of "Robocode/NetBeans/Configure"

From Robowiki
Jump to navigation Jump to search
(Created page with '<p>Hi all!!</p> <p>Let's take a little break. I have a lot of projects and homework to do, so I don't have enough time to understand and improve my robot. So sad, you know? I wan…')
 
m (mark as cleanup, I'm too lazy to do it now)
Line 1: Line 1:
 +
{{cleanup}}
 +
 
<p>Hi all!!</p>
 
<p>Hi all!!</p>
 
<p>Let's take a little break. I have a lot of projects and homework to do, so I don't have enough time to understand and improve my robot. So sad, you know? I want to play but I can't!! :(</p>
 
<p>Let's take a little break. I have a lot of projects and homework to do, so I don't have enough time to understand and improve my robot. So sad, you know? I want to play but I can't!! :(</p>

Revision as of 17:13, 2 July 2009

This article may require cleanup to meet RoboWiki's quality standards.
Please improve this article if you can.

Hi all!!

Let's take a little break. I have a lot of projects and homework to do, so I don't have enough time to understand and improve my robot. So sad, you know? I want to play but I can't!! :(

Last week, my friends asked me why he can't compile his robot. I saw his screen and I found that he used RoboEditor to compile his robot. I'm not sure about RoboEditor. I don't know there are some utilities about java or not. I mean LinkedList, math functions or something like that. Because I usually use NetBeans or Eclipse to edit my robot, I recommended him to download and use NetBeans instead.

Today I will show you how to configure NetBeans in order to create your robot. I think it's easy way to edit your robot because you don't have to worry about what the error is, NetBeans can tell you what it is!!

How to configure NetBeans

First, you have to download NetBeans IDEhttp://www.netbeans.org/

> go to Tools > Libraries and then the Library Manager will be shown.

http://ifourth.net/pic/27-6-2552%2021-23-07.png

> Click New Library

> Type robocode or something you want in Library Name

> Click OK

http://ifourth.net/pic/27-6-2552%2021-34-50.png

> After finishing add library

> Click your library name at the left hand side

> Click Add JAR/Folder

> Select robocode library from \robocode\libs\

> Click Add JAR/Folder

> Click OK

*** location of library is depended on your robocode directory***

And then you have to add Robocode Library into your project.

http://ifourth.net/pic/27-6-2552%2021-59-20.png

> Right click on Libries project

> Click Add Library

http://ifourth.net/pic/27-6-2552%2022-04-58.png

> Select your Robocode Library

> Click Add Library

After finishing add library into your project, you have to let Robocode program to know where your robots are.

http://ifourth.net/pic/27-6-2552%2022-10-50.png

> Click Add

> Select the location of your robots

> Click Finish

***You have to create your project in NetBeans first and the location is \build\classes***

Finish!!!!

Now, you can create your robot with NetBeans :)

If you have some problem about configure it, you can ask in comment box. I will come and answer soon!!