This README file explains how to install, configure, and use the IMSL Java Numerical Library (JMSL), and it provides additional important updated product information.
Before proceeding, please read and accept the license agreement. If you do not accept the license agreement, you are not authorized to use this product.
Note: For simplicity, all example commands are specified using Linux command line syntax. Windows users will need to adjust commands and paths accordingly.
<ROGUEWAVE_DIR> the base product installation
directory<VER> the version number of the product<ROGUEWAVE_DIR>/imsl/jmsl-<VER>jmsl-<VER>-<ENV>.run for users with a valid
license keyjmsl-<VER>-<ENV>_eval.run for evaluation
and subscription usersjmsl-<VER>-<ENV>.exe for users with a valid
license keyjmsl-<VER>-<ENV>_eval.exe for evaluation
and subscription usersjmsl-core-<VER>.jar (or
jmsl-core-<VER>-eval.jar) to a location to be
referenced on the java classpath for your applicationimsl_eval.dat (obtained via email from the
Perforce License Administrator) to a location to be referenced by a
system property for your application.<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/apidocs/index.html
if JMSL Documentation was installed.The version report can be invoked by executing the following command:
java -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar com.imsl.Version
For evaluation and subscription users:
java -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>-eval.jar -Dcom.imsl.license.path=./path/to/license/imsl_eval.dat com.imsl.Version
Your application will require a licensed version of the
jmsl-core JAR to compile. After obtaining it via the "Usage
Instructions" above, your application can be compiled using all typical
methods. By doing so, you are accepting the terms of the JMSL license
agreement. An example compilation is shown below:
javac -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar <application-source>
For evaluation and subscription users:
javac -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>-eval.jar <application-source>
JMSL is not available via a public repository. In order to use the library with Maven, you will need to install the JMSL JAR into your local maven repository. By doing so, you are accepting the terms of the JMSL license agreement. For installing with JMSL javadocs in Maven, see the next section.
mvn install:install-file -Dfile=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar -DgroupId=com.perforce
-DartifactId=jmsl-core -Dversion=<VER> -Dpackaging=jar
For evaluation and subscription users:
mvn install:install-file -Dfile=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>-eval.jar -DgroupId=com.perforce
-DartifactId=jmsl-core -Dversion=<VER> -Dpackaging=jar
If the installation includes JMSL Documentation (select this option if desired), the library can be installed along with associated javadocs into your local Maven repository.
Navigate to
<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/apidocs/. Run
the command
jar cvf jmsl-core-<VER>-javadoc.jar *
or
jar cvf jmsl-core-<VER>-eval-javadoc.jar *
This will package all the html documentation into the JAR file,
jmsl-core-<VER>-javadoc.jar ( or jmsl-core-<VER>-eval-javadoc.jar)
Then the Maven install command can be adapted to include the
javadocs:
mvn install:install-file -Dfile=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar -DgroupId=com.perforce
-DartifactId=jmsl-core -Dversion=<VER> -Djavadoc=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/apidocs/jmsl-core-<VER>-javadoc.jar
-Dpackaging=jar
Or, for evaluation and subscription users:
mvn install:install-file -Dfile=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>-eval.jar -DgroupId=com.perforce
-DartifactId=jmsl-core -Dversion=<VER> -Djavadoc=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/apidocs/jmsl-core-<VER>-eval-javadoc.jar
-Dpackaging=jar
Your application will require a licensed version of the
jmsl-core JAR to run. After obtaining it via the
"Installation Instructions" above, your application can be invoked using
all typical methods. By doing so, you are accepting the terms of the
JMSL license agreement. An example invocation is shown below:
java -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar <application-class>
For evaluation and subscription users:
java -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar -Dcom.imsl.license.path=./path/to/license/imsl_eval.dat <application-class>
Alternatively, license file location may be specified in project code:
import java.util.Properties;
...
// Query appropriate environment variable to get location of IMSL license file
Properties props = System.getProperties();
props.setProperty("com.imsl.license.path", "./path/to/license/imsl_eval.dat");
This README file explains how to install, configure, and use the IMSL Java Numerical Library (JMSL), and it provides additional important updated product information.
Before proceeding, please read and accept the license agreement. If you do not accept the license agreement, you are not authorized to use this product.
Note: For simplicity, all example commands are specified using Linux command line syntax. Windows users will need to adjust commands and paths accordingly.
<ROGUEWAVE_DIR> the base product installation
directory<VER> the version number of the product<ROGUEWAVE_DIR>/imsl/jmsl-<VER>jmsl-<VER>-<ENV>.run for users with a valid
license keyjmsl-<VER>-<ENV>_eval.run for evaluation
and subscription usersjmsl-<VER>-<ENV>.exe for users with a valid
license keyjmsl-<VER>-<ENV>_eval.exe for evaluation
and subscription usersjmsl-core-<VER>.jar (or
jmsl-core-<VER>-eval.jar) to a location to be
referenced on the java classpath for your applicationimsl_eval.dat (obtained via email from the
Perforce License Administrator) to a location to be referenced by a
system property for your application.<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/apidocs/index.html
if JMSL Documentation was installed.The version report can be invoked by executing the following command:
java -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar com.imsl.Version
For evaluation and subscription users:
java -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>-eval.jar -Dcom.imsl.license.path=./path/to/license/imsl_eval.dat com.imsl.Version
Your application will require a licensed version of the
jmsl-core JAR to compile. After obtaining it via the "Usage
Instructions" above, your application can be compiled using all typical
methods. By doing so, you are accepting the terms of the JMSL license
agreement. An example compilation is shown below:
javac -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar <application-source>
For evaluation and subscription users:
javac -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>-eval.jar <application-source>
JMSL is not available via a public repository. In order to use the library with Maven, you will need to install the JMSL JAR into your local maven repository. By doing so, you are accepting the terms of the JMSL license agreement. For installing with JMSL javadocs in Maven, see the next section.
mvn install:install-file -Dfile=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar -DgroupId=com.perforce
-DartifactId=jmsl-core -Dversion=<VER> -Dpackaging=jar
For evaluation and subscription users:
mvn install:install-file -Dfile=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>-eval.jar -DgroupId=com.perforce
-DartifactId=jmsl-core -Dversion=<VER> -Dpackaging=jar
If the installation includes JMSL Documentation (select this option if desired), the library can be installed along with associated javadocs into your local Maven repository.
Navigate to
<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/apidocs/. Run
the command
jar cvf jmsl-core-<VER>-javadoc.jar *
or
jar cvf jmsl-core-<VER>-eval-javadoc.jar *
This will package all the html documentation into the JAR file,
jmsl-core-<VER>-javadoc.jar ( or jmsl-core-<VER>-eval-javadoc.jar)
Then the Maven install command can be adapted to include the
javadocs:
mvn install:install-file -Dfile=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar -DgroupId=com.perforce
-DartifactId=jmsl-core -Dversion=<VER> -Djavadoc=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/apidocs/jmsl-core-<VER>-javadoc.jar
-Dpackaging=jar
Or, for evaluation and subscription users:
mvn install:install-file -Dfile=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>-eval.jar -DgroupId=com.perforce
-DartifactId=jmsl-core -Dversion=<VER> -Djavadoc=<ROGUEWAVE_DIR>/imsl/jmsl-<VER>/apidocs/jmsl-core-<VER>-eval-javadoc.jar
-Dpackaging=jar
Your application will require a licensed version of the
jmsl-core JAR to run. After obtaining it via the
"Installation Instructions" above, your application can be invoked using
all typical methods. By doing so, you are accepting the terms of the
JMSL license agreement. An example invocation is shown below:
java -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar <application-class>
For evaluation and subscription users:
java -cp <ROGUEWAVE_DIR>/imsl/jmsl-<VER>/jmsl-core-<VER>.jar -Dcom.imsl.license.path=./path/to/license/imsl_eval.dat <application-class>
Alternatively, license file location may be specified in project code:
import java.util.Properties;
...
// Query appropriate environment variable to get location of IMSL license file
Properties props = System.getProperties();
props.setProperty("com.imsl.license.path", "./path/to/license/imsl_eval.dat");