home

Compile

In this page we give instruction on how to build GOBU programs from source codes.

Contents

  1. Steps
  2. Building GOBU Applet
top

Steps

Skip steps that you had done it.
  1. Install Java Developer's Kit (JDK), you can download JDK from java.sun.com. In order to build GOBU successfully, JDK of version 1.4.2 (or higher) is recommended.
  2. Install Apache Ant, you can download Ant from Apache Ant website.
  3. Decide one place as your GOBU folder.
  4. Download the complete or src package of GOBU and uncompress it to the folder containing your GOBU folder, remember to check the option "uncompress with pathname" or something like that.
  5. In GOBU folder, there is a "build.xml" file for building GOBU by Ant. There are two ways to build GOBU by Ant:
top

Building GOBU Applet

If you just follow above steps, Ant will build the GOBU standalone version. In order to build GOBU applet, just assign Ant target "appletBuild". For example, command "ant -Djdk.home=c:\jdk1.5.0_01 appletBuild" will build the applet JAR file and place it in the "applet" sub-folder in the GOBU folder.