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 or later

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

% unzip apache-ant-1.7.1-bin.zip
% sudo mv apache-ant-1.7.1 /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.