# OVT 2.1 :: Installing under UNIX

- Requirements
- OVT Installation

## Requirements

> OVT requires :
> - Java (J2SE/JDK 1.2-1.3.x)
> - OpenGL or Mesa
> - VTK (Visualization Toolkit) 3.2 with Java support
> Follow the following steps before building OVT:
> 1. Install Java
> 2. Install OpenGL or Mesa libraries
> 3. Install VTK with Java support

> ### Java Installation

> > You need to install Java 2 Standard Edition (J2SE) version 1.2 - 1.3.x.
> > Note that OVT doesnt not work with versions: 1.1.x, 1.4.
> > Install SUN's implementations of Java (recommended) or Java Port by the vendor other then SUN Microsystems.
> > To speed up OVT and VTK compilation process you can also install jikes.

> ### OpenGL/Mesa Installation, VTK Installation

> > For OpenGL/Mesa and VTK installation please refer VTK for OVT page (http://ovt.irfu.se/vtk/)

## OVT Installation

> 1. Download OVT sources (`ovt2g-2.1-XX.src.tar.gz`) from http://ovt.irfu.se/download/
> 2. Unpack sources: `gzcat ovt2g-2.1-XX.src.tar.gz | tar xvf -`
> 3. `cd ovt2g-2.1`
> 4. Run `configure` script:
>    `./configure --with-jdk=/path/to/your/JDKHOME --with-vtk-classpath=/path/to/your/vtk.jar --with-vtk-lib=/path/to/your/vtk/libs/dir`
>    Use `./configure --help` for help.
>    If you have installed jikes, add it to PATH before running `configure`.
> 5. `make`
> 6. Become a superuser: `su -l`
> 7. `make install`
>    By default OVT will be installed under `/usr/local/`.
>    If you want OVT to be installed under the directory other than /usr/local/, let's say `/opt` you have to supply `configure` with `--with-prefix=/opt` parameter.
> 8. Run OVT: `/usr/local/bin/ovt.sh`

Copyright © 2000-2002 OVT Team. All rights reserved.
last modified on