Before building the IDV you need to first install Java and Java 3D on your system. You need to use the Java SDK, because the Java RunTime Environment (JRE) does not contain the Java compiler (javac). You need to use a version of Java 1.6. You can use either the Java 3D SDK or JRE, version 1.3.x or higher (1.5.2 is recommended).
You will also need to install Ant (http://ant.apache.org/)
on your machine. Ant is similar to make - instead of a
Makefile, Ant uses a
build.xml file. Be sure to follow
the instructions for installing Ant, especially those for
setting up environment variables.
Download the IDV source files from the Unidata Web Site.
You are now ready to install the IDV source.
jar xvf idv_src_5.6.jar
This will create a "src" directory underneath the install directory (where you unJAR'ed the file).
libdirectory as a peer of the
srcdirectory that holds the ancillary JAR files from the
IDV Binary distributionthat are needed to build the classes. The structure will look like this:
idv | +----src | +----lib (holds the ancillary jar files).
lib(if you are not already there).
This removes all Java class files (there will be none
the first time), re-builds them and creates
idv.jar file, copying
it to the lib directory.
java -Xmx512m -jar idv.jar