Hi,
I'm starting with robocode.
When i run my robot on eclipse, I have :
Got an error with rgr.bin.rgr.FirstBot: java.lang.ClassNotFoundException: rgr/bin/rgr/FirstBot (wrong name: rgr/FirstBot)
I have followed the guide on:
http://robowiki.net/wiki/Robocode/Eclipse/Create_a_Project
http://robowiki.net/wiki/Robocode/Eclipse/Create_a_Robot
http://robowiki.net/wiki/Robocode/Running_from_Eclipse
Any hint for me?
Thanks.
If you are running Robocode from Eclipse, you need to add the root path to your robot as a Development Path.
In Robocode, you select this from the menu:
Options -> Preferences -> Development Options, and then press the Add button and browse to the root directory containing the rgr dir.
It seems like you have a project name rgr with a normal bin forlder containing the package rgr with the FirstBot class.
Well, in this case your development path must point your your ../rgr/bin folder, as your rgr package with your robot is located in that folder.
Log in to post a comment.
Hi,
I'm starting with robocode.
When i run my robot on eclipse, I have :
Got an error with rgr.bin.rgr.FirstBot: java.lang.ClassNotFoundException:
rgr/bin/rgr/FirstBot (wrong name: rgr/FirstBot)
I have followed the guide on:
http://robowiki.net/wiki/Robocode/Eclipse/Create_a_Project
http://robowiki.net/wiki/Robocode/Eclipse/Create_a_Robot
http://robowiki.net/wiki/Robocode/Running_from_Eclipse
Any hint for me?
Thanks.
If you are running Robocode from Eclipse, you need to add the root path to
your robot as a Development Path.
In Robocode, you select this from the menu:
Options -> Preferences -> Development Options, and then press the Add button
and browse to the root directory containing the rgr dir.
It seems like you have a project name rgr with a normal bin forlder containing
the package rgr with the FirstBot class.
Well, in this case your development path must point your your ../rgr/bin
folder, as your rgr package with your robot is located in that folder.