Appendix A
Install Java

You must have either a Java Runtime Environment (JRE) or a Java Development Kit (JDK) in version 6 installed on your computer. A JRE is enough to run ViSiDiA. If you plan to develop algorithms, please install a JDK.
If you do not have a JRE/JDK, of if its version is prior to version 6, please download and install JRE/JDK 6.

You can get the last official Sun JRE/JDK :

http://java.sun.com/javase/downloads/index.jsp

or get an open source JDK, such as OpenJDK :

http://openjdk.java.net/

 
Under linux Ubuntu, you can for example get openjdk-6:

$ sudo apt-get install openjdk-6-jdk

Important note: Depending on your operating system, you may encounter problems with some open source JRE/JDK. Please refer to section A.1.
You may need to adjust your JAVA_HOME environment variable, for example:

$ export JAVA\_HOME=/usr/lib/jvm/java-6-openjdk/

Under Windows, you may have to set the PATH environment variable to the JDK binaries.

A.1 Troubleshooting

A.1.1 GNU Java Compiler (GJC)

Please check that you DO NOT USE a JDK from the GJC. To check, run on command line:

$ java -version  
$ javac -version.

If your system is configured to use GJC, please download and install another JDK, and use it as default.

A.1.2 OpenJDK

You may encounter problems using OpenJDK with Fedora distribution: Java does not execute, or ViSiDiA graphical interface is altered (buttons are misalignmed for example). In this case, please install and use the official Sun JRE/JDK.
Here is the recipe to install Sun JDK on Fedora (example is given for JDK 6 Update 16):