home > install OSCARS > Java Packages

Java Packages



Java 5.0 or later

OSCARS is coded in Java 1.5 so you are likely to have a compatible Java version already installed. If java -version shows a version of 5.0 or greater you are ok. If not go to the Sun developers site and download the most recent JDK as you will need to compile our Java code.

Ant 1.7

Download the Ant distribution and install it with the following commands:

% unzip apache-ant-1.7.0-bin.zip
% sudo mv apache-ant-1.7.0 /usr/local/ant
% sudo ln -s /usr/local/bin/ant /usr/local/ant/bin/ant

You are not required to install the downloaded folder in /usr/local/ant but you will want the ant comand to be on your PATH.

Log4j

We provide the log4j.jar file as part of the OSCARS distribution. Documentation on how to configure it can be found here. To see how we have configured it for Tomcat, Axis and OSCARS go to our logging configuration page.

Java Transaction API (jta.jar)

Because of Sun licensing restrictions we are unable to distribute this jar file. Go to Sun and down the zip file of the classes. Then use the following commands to create a jar file:

% unzip  jta-1_1-classes.zip
% jar -cf jta.jar javax

Then once you have installed the OSCARS distribution copy jta.jar to the /lib directory.

Dojo 1.1

This tool kit is used to support the new and still experimental brower interface. So unless you want to try our new interface you do not need to download this. But if you are interested go to the Dojo site and download version 1.1. Untar as root into /usr/local/src. Make a symbolic link named dojo in that directory to dojo-release-1.1.0. The ant tasks depend on that link. ant deploydojo will copy all 2000 plus files to dojoWeb/lib and create the OSCARSDojo webapp.