SourceForge > JInit
 

Installing JInit

Requirements

JInit requires a Java Runtime Environment in which to run. If you have the Java J2SE SDK installed then you already have a runtime environment. If not, you may need to install a Runtime Environment for your platform which you can download from http://www.java.com.

Extracting The Archive

JInit is provided in two archive formats, Zip and a Tarball compressed using Gnuzip. Both of these archives contain exactly the same contents. You can use the jar tool, bundled with the Java J2SE SDK to decompress the Zip archive or Winzip on Microsoft Windows and the unzip utility on Linux / Unix. The Tar archive can also be decompressed using Winzip on Windows or using the tar utility on Linux or Unix.

After extracting the contents you will have a resulting folder named jinit-version.

Installing

The resulting folder after extracting the archive should be placed in a location of your choice. On Windows you can place it on the C:\ drive and Unix / Linux can use /usr/local .

Next you will ned to set an environment variable named JINIT_HOME and point it to the location of the JInit folder. The you will need to update the PATH variable to include the bin/ directory within the JInit folder.

On Windows:

SET JINIT_HOME=C:\jinit-0.1
SET PATH=%PATH%;C:\jinit-0.1\bin
			

On Unix / Linux

expport JINIT_HOME=/usr/local/jinit-0.1
export PATH=$PATH:$JINIT_HOME\bin
			

Building JInit From Source

You will need to have Apache Ant and Apache Forrest installed in order to successfully build JInit from source, you can find these excellent utilities at http://www.apache.org.

Simply issue the ant command within the source directory.