@@ -5,14 +5,14 @@ All recent versions of Matlab include a Java runtime environment and it is there
#### Requirements
*Matlab R2013B or higher (nshmp-haz targets Java 7; prior versions of Matlab use Java 6).
*A [build](/usgs/nshmp-haz/wiki/Building-&-Running) of nshmp-haz.
*nshmp-haz.jar on Matlab's classpath. Save a file with the name `javaclasspath.txt` to the Matlab preferences directory (as specified by the `prefdir` command) and with contents:
* Matlab R2013B or higher (nshmp-haz targets Java 7; prior versions of Matlab use Java 6).
* A [build](/usgs/nshmp-haz/wiki/Building-&-Running) of nshmp-haz.
* nshmp-haz.jar on Matlab's classpath. Save a file with the name `javaclasspath.txt` to the Matlab preferences directory (as specified by the `prefdir` command) and with contents:
```
<before>
/path-to-repository/nshmp-haz/dist/nshmp-haz.jar
```
**Note:** Although Java classes can be loaded dynamically when running a script, Matlab includes some outdated versions of 3rd party libraries required by nshmp-haz and it must therefore be loaded earlier.
**Note:** Although Java classes can be loaded dynamically when running a script, Matlab includes some outdated versions of 3rd party libraries required by nshmp-haz and it must therefore be loaded earlier.