Check to make sure the environment is setup correctly, taking care about existing values for previous installations.
For example, this command line was used to setup environment variables:
The $PATH and $CLASSPATH environment variables could contain incorrect paths or old setup directories.
Modifying the command line to point to the current installation first should be done:
as the example above shows this is done by putting the exiting environment variable ($variable) at the end of the export statement.
This makes the new paths load first and solves issues related to the path containing conflicting or incorrect information.