Page 1 of 1

How to compile a bot properly - for noobs

Posted: Mon Dec 01, 2008 2:38 pm
by Zed_Gecko
Hi,
i am totaly new to java programming, but i really would like to create an own bot.

The examples that come with the SDK are quite helpfull on how to code a bot,
but i can´t find informations on how to compile it properly.

I have installed the jdk1.6.0_10 Java SDK from Sun.
A simple javac MyBot.java did not produce a working class-file.

Could someone please post a brief "How To compile a bot" for noobs.

Posted: Tue Dec 02, 2008 12:40 am
by mahesh
i think you use the netbean software it is helpful for you

Posted: Tue Dec 02, 2008 9:24 am
by Zed_Gecko
Thanks,
but this doesn´t help.

I really need :

Either some general informations about the difference between a "normal" java-class and a "hack-vm" java-class (so i can check some tutorials on how to create such a file),

Or (better) some instructions how to create the desired java-class files properly.



Or if my primary assumption is wrong, and a javac MyBot.java should create the desired class-file,
please notify me, too. So i can start bugtracking my actions.

Posted: Tue Jan 06, 2009 4:07 pm
by CrappySnafu
How To compile a bot
just run the build.xml ... its a Ant build file where everything is described and configured to build the complete bot (with more than one java file and more than one package)

if u do not find out, how u need to edit the build.xml to make it build your bot, check out
http://ant.apache.org/resources.html

there comes a readme with SDK, did u read it?

Posted: Fri Feb 13, 2009 6:56 am
by Zed_Gecko
thanks CrappySnafu
the tipp and link did help.

because i have no exprience with java, i didn´t know where to start.
after installing ant, i now can build working bots;
still don´t know what´s actually happening, and why, but i am satisfied for now.