How to compile a bot properly - for noobs

Post Reply
Zed_Gecko
Posts: 3
Joined: Wed Nov 26, 2008 9:39 pm
Location: 127.0.0.1

How to compile a bot properly - for noobs

Post 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.
mahesh
Posts: 1
Joined: Sun Nov 30, 2008 9:54 am
Location: pune

Post by mahesh »

i think you use the netbean software it is helpful for you
mahesh
Zed_Gecko
Posts: 3
Joined: Wed Nov 26, 2008 9:39 pm
Location: 127.0.0.1

Post 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.
CrappySnafu
Posts: 12
Joined: Fri Oct 24, 2008 2:50 pm
Location: Switzerland

Post 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?
Zed_Gecko
Posts: 3
Joined: Wed Nov 26, 2008 9:39 pm
Location: 127.0.0.1

Post 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.
Post Reply